Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mousewheel scrolling speed
Message
De
04/12/2006 20:49:06
 
 
À
02/12/2006 09:51:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01174381
Message ID:
01174818
Vues:
16
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform