Horizontal scroll with xBrowse

Horizontal scroll with xBrowse

Postby Rick Lipkin » Thu Sep 01, 2011 7: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

Image

I am sure there is a quick fix ??

Thanks
Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2642
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Horizontal scroll with xBrowse

Postby nageswaragunupudi » Fri Sep 02, 2011 1:00 am

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10321
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Horizontal scroll with xBrowse

Postby Francisco Horta » Fri Sep 02, 2011 2: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
Francisco Horta
 
Posts: 845
Joined: Sun Oct 09, 2005 5:36 pm
Location: la laguna, mexico.

Re: Horizontal scroll with xBrowse

Postby Rick Lipkin » Fri Sep 02, 2011 3:10 pm

Rao and Francisco

Thank you for your valuable input !!

Rick
User avatar
Rick Lipkin
 
Posts: 2642
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 122 guests