Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scroll bars in forms and mouse wheel
Message
 
 
To
16/09/2008 12:12:47
Valter Molina
Molina & Nardi Ltda
Brazil
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Miscellaneous
Thread ID:
01347962
Message ID:
01347963
Views:
27
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform