Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid: questions on scrolling via mouse wheel
Message
 
 
To
18/05/2005 17:49:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01015603
Message ID:
01016519
Views:
15
>1. Does anyone know what determines the scroll rate when a user clicks on the mouse wheel and then moves the mouse up or down to begin auto-scrolling? Is the mousewheel auto-scroll rate controllable via a VFP SET setting, system _VARIABLE, or SYS() function?

There's nothing built in VFP to control this behavior. I'm not sure if it can be done with binding to Windows Messages in VFP9. The scroll rate depends on how far cursor is moved from the origin mark.

>2. I've noticed that in the auto-scroll behavior only works in my grids if the mouse is near the left edge of the grid. If I begin the auto-scroll process near the middle or right edge of the grid, the auto-scroll will "randomly" stop scrolling for no apparent reason. There seems to be no pattern as to where the scroll stops. The only thing I can think of is that the records where it does stop are wider than than the width of the grid and perhaps there's a link to VFP 9's new auto tooltips for grid cells with visually truncated values? Note that the auto-scroll doesn't stop at every wide record, but when it does stop, it stops on a wide record.

Does direction pointer changes when it happens?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform