Horizontal Scroll via Mouse Scroll

Post Reply
byron.hopp
Posts: 388
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

Horizontal Scroll via Mouse Scroll

Post by byron.hopp »

Seems TCBrowse has a feature that Horizontally Scrolls the grid if the mouse cursor is in the last 5 to 6 rows of the grid.
If the mouse is higher on the grid the scrolls vertically. Is there a way to turn off the horizontal scroll.
I think it is pretty neat, but my customer is not so enthusiastic.

Tried oBrw:lNoHScroll := True, or False doesn't seem to make any difference.

Thanks,

Byron ...
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
Posts: 388
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

Re: Horizontal Scroll via Mouse Scroll

Post by byron.hopp »

This may be in WBrowse but I cannot seem to turn off the Horizontal Scroll, just don't know the trick.

Thanks,
Thanks,
Byron Hopp
Matrix Computer Services
hua
Posts: 1076
Joined: Fri Oct 28, 2005 2:27 am
Has thanked: 1 time
Been thanked: 1 time

Re: Horizontal Scroll via Mouse Scroll

Post by hua »

# post deleted #
Last edited by hua on Fri Dec 15, 2017 8:09 am, edited 1 time in total.
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Re: Horizontal Scroll via Mouse Scroll

Post by nageswaragunupudi »

Can you please make this modification in your copy of "wbrowse.prg" ?

Locate Method WheelScroll(...)
In this method, please locate this line:

Code: Select all | Expand

  if aPos[ 1 ] > ::nHeight * 0.80
 

Please change this line as

Code: Select all | Expand

  if .f. // aPos[ 1 ] > ::nHeight * 0.80
 
Regards

G. N. Rao.
Hyderabad, India
byron.hopp
Posts: 388
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA
Contact:

Re: Horizontal Scroll via Mouse Scroll

Post by byron.hopp »

Mr. Rau, you got it.

Thanks,

Byron ...
Thanks,
Byron Hopp
Matrix Computer Services
Post Reply