FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour HScroll and VScroll ON / OFF at runtime in xBrowse ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
HScroll and VScroll ON / OFF at runtime in xBrowse ?
Posted: Sat Sep 06, 2008 06:23 PM
Hello,

I wanted to switch ON / OFF HScroll and VSroll in
xBrowse at Runtime.
It seems, it works only in a new dialog ( preview ).
I can create a extra dialog-preview like for the record-selector.
There, i had the same problem.



Regards
Uwe
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
HScroll and VScroll ON / OFF at runtime in xBrowse ?
Posted: Tue Sep 09, 2008 08:56 AM

Uwe,

Please try this code to hide them:

oBrw:oVScroll:SetRange( 0, 0 )
oBrw:oHScroll:SetRange( 0, 0 )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
HScroll and VScroll ON / OFF
Posted: Thu Sep 11, 2008 06:15 AM
Antonio,

I had a closer look at the problem.

oBrw:SetRange( 0, 0 )
oBrw:SetRange( 0, 0 )

Like you can see on the screenshot : the data-area is painted new,
but HScroll is still visible on top. In a new Dialog it is painted OK.
There is another thing i noticed : if hcroll and vscroll are defined
in resources and in my application i set them to .F., nothing
happens. Without define them in resources, oBrw:lHScroll := .F. and
oBrw:lVScroll := .F. are working.



Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.

Continue the discussion