Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scroll bars in forms and mouse wheel
Message
 
 
À
16/09/2008 12:12:47
Valter Molina
Molina & Nardi Ltda
Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Divers
Thread ID:
01347962
Message ID:
01347963
Vues:
28
>I need to scroll and image in a form. I set the form´s scrollbars to 2 - Vertical, place an image container taller than the form´s height. I ran it and the scroll worked fine, but if I use the mouse wheel, nothing happens. It only works if I place the mouse pointer over the scrollbar. Is there a way to make it scrolls regardless the mouse position? I even write a code in the mousewheel method, but nothng happened.
>Any help would be welcomed.

If I recall correctly, you need to look at SetViewPort method of the form.

BTW, may be you need to use scrollable container instead? I believe Carlos Alloatti has a nice one. I used the class by Alexander Grigorjev in the past.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform