Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining Cell contents using MouseMove Event
Message
De
31/08/2001 07:38:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
31/08/2001 07:07:14
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00551286
Message ID:
00551295
Vues:
13
>Hi All,
>
>Has anyone got a solution (or a direction in which to go) for determining the contents of a cell in a grid over which a mouse is moving. I imagine the MouseMove event is where I need to begin but I'm kinda stuck at that point. Any assistance appreciated.
>
>TIA
>
>Liam

Forget about the mouse - too complicated, IMO.

Grid.ActiveColumn will give you the active column.

Then, I think, you can get the column as an object, from the Columns collection, and use something like eval(.ControlSource). Perhaps the command you are looking for would be similar to eval(oGrid.Columns(oGrid.ActiveColumn).ControlSource).

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform