Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I access the text portion of a grid in code
Message
From
26/09/2002 09:19:59
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00704633
Message ID:
00704651
Views:
27
>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?
>

You can find the control through the use of the Grid's ActiveColumn and ActiveRow properties, which should point you to the currently selected control. In addition, if a cell is active, "this" should reference the control in the Grid.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform