XBrowse: how to hide vertical scrollbar

Post Reply
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

XBrowse: how to hide vertical scrollbar

Post by Enrico Maria Giordano »

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
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Re: XBrowse: how to hide vertical scrollbar

Post by vilian »

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

Re: XBrowse: how to hide vertical scrollbar

Post by Silvio.Falconi »

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 ?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: XBrowse: how to hide vertical scrollbar

Post by Enrico Maria Giordano »

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

oBrw:WinStyle( WS_VSCROLL, .F. )
EMG
Post Reply