Page 1 of 1

Error brush with scroll Panel class

Posted: Thu May 02, 2019 5:13 pm
by Silvio.Falconi
I use a Dialog and inser a scrolPanel into
this Panel have a brush with a Image










then I use TScrWnd class ( not fwh) to scroll because scrolpanel have only vertical scroll I need also Horizontal scroll

When I scroll the panel not refresh the image is under as you can see on the picture
How I can resolve the refresh ?

Re: Error brush with scroll Panel class

Posted: Fri May 03, 2019 11:37 am
by Silvio.Falconi
I tried to insert

IF !Empty(cBackBrush)
DEFINE BRUSH oBrush1 FILENAME cBackBrush
ELSE
DEFINE BRUSH oBrush1 COLOR COLORE_SABBIA
ENDIF

oPanel:bResized := { || oPanel:SetBrush( oBrush1) }

but it is the same

Re: Error brush with scroll Panel class

Posted: Sat May 04, 2019 12:22 am
by nageswaragunupudi
Not possible to have brushes on scroll panel

Re: Error brush with scroll Panel class

Posted: Sat May 04, 2019 7:42 am
by Silvio.Falconi
ok resolved
I inserted a new line where the user could insert an image simulating the sea
as you can see here



this is a xIMAGE