Page 1 of 1

Problem with scroll and bRush

PostPosted: Thu Aug 09, 2018 4:48 pm
by Silvio.Falconi
I insert a brush into image and I try to make a scroll of a dialog
when i move the scroll the bruh make error see here :

Image

How I can resolve it ?

DEFINE BRUSH oBrush1 FILENAME ".\bitmaps\spiaggia.bmp"


DEFINE DIALOG oDlg SIZE 1100,700 BRUSH oBrush1 ;
STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ;
WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_THICKFRAME,WS_VSCROLL,WS_HSCROLL )

ACTIVATE DIALOG oDlg CENTERED ;
ON INIT oScrWnd:=TScrWnd():New( oDlg,1,28,1,18)

Re: Problem with scroll and bush

PostPosted: Thu Aug 09, 2018 6:06 pm
by karinha
Code: Select all  Expand view

BRUSH oBrush1 TRANSPARENT
 


Image

Re: Problem with scroll and bush

PostPosted: Sat Aug 11, 2018 5:15 pm
by Silvio.Falconi
JOAO,
YOU HAVE THE SamE MINE PROBLEM
LOOK YOUR PICTURE ( SEE THE RED ARROWS)

Image