Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mousewheel scrolling speed
Message
From
04/12/2006 20:49:06
 
 
To
02/12/2006 09:51:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01174381
Message ID:
01174818
Views:
15
>I have been snooping through VFP help and have not been able to find a way to scroll a form using the mousewheel. Here is the code that I have in the mousewheel method.
>
>LPARAMETERS nDirection, nShift, nXCoord, nYCoord
>Thisform.SetViewPort( Thisform.ViewPortLeft, Max(0,Thisform.ViewPortTop-Sign(m.nDirection)*16) )
>
>It works fine, I just need it to move the form up or down more quickly. I can find nothing in help that will tell me how to do that. Can you?
>
>I have been playing with the property's VscrollSmallChange value for the form, but doesn't seem to have any effect.
>
>No luck yet. Any ideas?
>
>+++ Grady ---

Check http://www.ctl32.com.ar/ctl32_scontainer.asp

The class has the ctlHWheelChange property where you set how many pixels to scroll with each Mousewheel movement.

Carlos Alloatti
Previous
Reply
Map
View

Click here to load this message in the networking platform