FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error brush with scroll Panel class
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Error brush with scroll Panel class
Posted: Thu May 02, 2019 05: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 ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: Error brush with scroll Panel class
Posted: 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 March-April 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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Error brush with scroll Panel class
Posted: Sat May 04, 2019 12:22 AM

Not possible to have brushes on scroll panel

Regards



G. N. Rao.

Hyderabad, India
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: Error brush with scroll Panel class
Posted: Sat May 04, 2019 07: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 March-April 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

Continue the discussion