Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining Cell contents using MouseMove Event
Message
From
31/08/2001 07:38:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
31/08/2001 07:07:14
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00551286
Message ID:
00551295
Views:
14
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform