XBrowse: how to hide vertical scrollbar

XBrowse: how to hide vertical scrollbar

Postby Enrico Maria Giordano » Tue Oct 06, 2020 9: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
User avatar
Enrico Maria Giordano
 
Posts: 8711
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: XBrowse: how to hide vertical scrollbar

Postby vilian » 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
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: XBrowse: how to hide vertical scrollbar

Postby Silvio.Falconi » 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 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: 7053
Joined: Thu Oct 18, 2012 7:17 pm

Re: XBrowse: how to hide vertical scrollbar

Postby Enrico Maria Giordano » 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: Select all  Expand view
oBrw:WinStyle( WS_VSCROLL, .F. )


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8711
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 40 guests