Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mousewheel scrolling speed
Message
From
17/04/2013 08:17:17
 
 
To
02/12/2006 09:51:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01174381
Message ID:
01571203
Views:
92
>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 ---

Try this and it works perfectly.
Thanks for the idea it was a great help for me :)

LPARAMETERS nDirection, nShift, nXCoord, nYCoord
Thisform.SetViewPort( Thisform.ViewPortLeft, Max(0,Thisform.ViewPortTop-Sign(m.nDirection)*thisform.VScrollSmallChange))
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform