FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Horizontal scroll with xBrowse
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Horizontal scroll with xBrowse
Posted: Thu Sep 01, 2011 07:48 PM
To All

I am trying to eliminate a horizontal scroll bar from a xbrowse resource

Here is the original line in my .rc

CONTROL "", 121, "TXBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP, 159, 19, 293, 58

I was hoping if I took out the WS_HSCROLL it would eliminate the horizontal scroll bar .. but unfortunately does not as in the example below ..

CONTROL "Owner Information", 121, "TXBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 159, 18, 293, 58



I am sure there is a quick fix ??

Thanks
Rick Lipkin
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Horizontal scroll with xBrowse
Posted: Fri Sep 02, 2011 01:00 AM

oBrw:lHScroll := .f. in the source code and also remove WS_HSCROLL in the rc file.

Regards



G. N. Rao.

Hyderabad, India
Posts: 845
Joined: Sun Oct 09, 2005 05:36 PM
Re: Horizontal scroll with xBrowse
Posted: Fri Sep 02, 2011 02:50 PM

in your .rc in "Windows styles" put 0x50A10000 with letter "B" horz and vert scroll is enable, with "A" vert scroll is enable
regards
pak.o

____________________

Paco
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Horizontal scroll with xBrowse
Posted: Fri Sep 02, 2011 03:10 PM

Rao and Francisco

Thank you for your valuable input !!

Rick

Continue the discussion