Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid: questions on scrolling via mouse wheel
Message
De
21/05/2005 16:29:22
 
 
À
18/05/2005 17:49:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01015603
Message ID:
01016529
Vues:
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?
>
>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.
>
>Any thoughts on my questions or observations?
>
>Malcolm
* MouseWhell
LPARAMETERS nDirection, nShift, nXCoord, nYCoord
NODEFAULT
* now you can control the operation
* Example : 1 line
RETURN Grid::DoScroll(IIF(m.nDirection>0,0,1))
* Example : 1 page
RETURN Grid::DoScroll(IIF(m.nDirection>0,2,3))
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform