Page 1 of 1

Horizontal scroll with xBrowse

PostPosted: Thu Sep 01, 2011 7:48 pm
by Rick Lipkin
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

Image

I am sure there is a quick fix ??

Thanks
Rick Lipkin

Re: Horizontal scroll with xBrowse

PostPosted: Fri Sep 02, 2011 1:00 am
by nageswaragunupudi
oBrw:lHScroll := .f. in the source code and also remove WS_HSCROLL in the rc file.

Re: Horizontal scroll with xBrowse

PostPosted: Fri Sep 02, 2011 2:50 pm
by Francisco Horta
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

Re: Horizontal scroll with xBrowse

PostPosted: Fri Sep 02, 2011 3:10 pm
by Rick Lipkin
Rao and Francisco

Thank you for your valuable input !!

Rick