Error brush with scroll Panel class

Error brush with scroll Panel class

Postby Silvio.Falconi » Thu May 02, 2019 5:13 pm

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.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7074
Joined: Thu Oct 18, 2012 7:17 pm

Re: Error brush with scroll Panel class

Postby Silvio.Falconi » Fri May 03, 2019 11:37 am

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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7074
Joined: Thu Oct 18, 2012 7:17 pm

Re: Error brush with scroll Panel class

Postby nageswaragunupudi » Sat May 04, 2019 12:22 am

Not possible to have brushes on scroll panel
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10662
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Error brush with scroll Panel class

Postby Silvio.Falconi » Sat May 04, 2019 7:42 am

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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7074
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 42 guests