Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine position of a column in grid
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00396623
Message ID:
00396703
Vues:
9
There is a Scrolled event on the grid (see help for more information). Based on the parameter passed to it, you can determine which way it scrolled and by what method.

>>I'm not sure if this will help but check out OBJTOCLIENT(). It will give you the X,Y coordinate of the header based on its form position.
>>
>>HTH.
>
>This works very fine! Now I would like to trigger the event that the grid has scrolled. this can happen when the user clicks on the horizontal scrollbar and also when the user tabs through the grid columns.
>I would have to use the click even, determining the position of the mousepointer on the scrollbar, and the keypress event on the textboxes in the grid. Maybe someone knows how to do that more easy?
Larry Miller
MCSD
LWMiller3@verizon.net

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

Click here to load this message in the networking platform