Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mousewheel scrolling speed
Message
De
19/04/2013 12:55:55
 
 
À
17/04/2013 08:17:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01174381
Message ID:
01571494
Vues:
33
Thanks Kahlil. I'm happy to help you.


>>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))
I ain't skeert of nuttin eh?
Yikes! What was that?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform