Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scroll down/up in a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00863047
Message ID:
00863108
Vues:
12
This message has been marked as the solution to the initial question of the thread.
>I have a form with the vertical scrollbars enabled and if the user has a mouse wheel it will scroll the form down/up. I would like the user to be able to use the mouse wheel even if the mouse is over other objects on the form.
>
>I see there is a Mousewheel event that will let me know if the mouse wheel has been moved up or down.
>
>How do I use that information to make the form scroll?

Patrick,
Based on the direction specified in the Direction parameter of the MouseWheel event, you can use the form's SetViewPort method to adjust the view up or down by some amount.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform