FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour XBrowse: how to hide vertical scrollbar
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
XBrowse: how to hide vertical scrollbar
Posted: Tue Oct 06, 2020 09:22 AM

I want to hide the vertical scrollbar of an XBrowse but I need to do it in the ON INIT clause. oBrw:lVScroll = .F. doesn't work.

Thank you for any help.

EMG

Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: XBrowse: how to hide vertical scrollbar
Posted: Tue Oct 06, 2020 10:52 AM
Are you creating the xbrowse from resource ? If yes, just put 0x5090000 in its windows style property..
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: XBrowse: how to hide vertical scrollbar
Posted: Tue Oct 06, 2020 11:02 AM
Enrico Maria Giordano wrote:I want to hide the vertical scrollbar of an XBrowse but I need to do it in the ON INIT clause. oBrw:lVScroll = .F. doesn't work.

Thank you for any help.

EMG


strange, do you have a small test to try ?
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: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: XBrowse: how to hide vertical scrollbar
Posted: Tue Oct 06, 2020 11:49 AM
vilian wrote:Are you creating the xbrowse from resource ? If yes, just put 0x5090000 in its windows style property..


Thank you for the hint. It works with the following code:

Code (fw): Select all Collapse
oBrw:WinStyle( WS_VSCROLL, .F. )


EMG

Continue the discussion