Error brush with scroll Panel class

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Error brush with scroll Panel class

Post 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 ?
Last edited by Silvio.Falconi on Mon Jun 10, 2019 7:46 am, edited 1 time in total.
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: Error brush with scroll Panel class

Post 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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: Error brush with scroll Panel class

Post by nageswaragunupudi »

Not possible to have brushes on scroll panel
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: Error brush with scroll Panel class

Post 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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply