Jump to content
Fivewin Brasil

scroll da janela via resource


Recommended Posts

ola pessoal

é possivel adicional um scroll (vertical e horizontal) em um janela feita via resouce ? marquei em vermelho para os colegas entenderem

no meu monitor ta ficando show so que no monitor do cliente é um pesadelo tantas resolução e nao quero mais mexer deixa o cliente quebrar a cabeça ou comprar um monitor maior

Link to comment
Share on other sites


Como você fez? Assim?



#Include "FiveWin.ch"

static oPanel

Function Main()

Local oPanel,oBrush,oWnd, C := 'HELLO'

DEFINE BRUSH oBrush FILENAME "clouds1.bmp"

DEFINE WINDOW oWnd

oPanel:= TScrollPanel():New(40,2,400,400,oWnd)

oPanel:SetBrush(oBrush)

@ 10,10 GET C OF oPanel SIZE 100,20 PIXEL

oPanel:SetRange()

ACTIVATE WINDOW oWnd maximized

Return nil


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...