>I have grid which displays data. I want to be able to click in the grid and take the contents of where the the cursor is and assign it to a textbox.
>
>How do I reference the data in the position ("cell") where my cursor is?
>
>Regards,
>
>Stuart
I don't remember the details exactly, but let me try...
Grid.ActiveColumn contains the current column, as a number. You can then use this number for the .Columns collection, to get the active column. From this column, you can access the standard textbox Text1, or, to be safer, use Column.CurrentControl. From this CurrentControl, you can then get the .Value property.
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)