Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I use MouseWheel in ListBox?
Message
From
24/09/1999 19:04:51
Dennis Schuette
Customized Business Services, Llc
Yuma, Arizona, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How do I use MouseWheel in ListBox?
Miscellaneous
Thread ID:
00268833
Message ID:
00268833
Views:
42
I am using VFP 5.0a.
I have been able to use the MouseWheel sucessfully in a grid, but I can't get it to scroll the ListBox, only the bound table. My ListBox MouseWheel method has this code:

LPARAMETERS nDirection, nShift, nXCoord, nYCoord
skip 10 * sign(nDirection)
if bof()
go top
endif
if eof()
go bottom
endif
nodefault

What else do I need to do? Does anyone have an example?

Thanks.
Denis Schuette
McElhaney Cattle Co.
Dennis Schuette
Reply
Map
View

Click here to load this message in the networking platform