Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I access the text portion of a grid in code
Message
De
26/09/2002 09:19:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00704633
Message ID:
00704651
Vues:
29
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform