|
-
Feb 25th, 2000, 09:26 PM
#1
Thread Starter
Lively Member
How can I obtain the values of the variables in a datagrid? I would like to specifically obtain the values that a user selects or which the little triangle/arrow on the left column denotes. Thanks.
casox
-
Apr 5th, 2000, 05:42 AM
#2
New Member
In the DataGrid1's RowColChange event, type this:
[your variable] = DataGrid1.Text
Getting the value of where the arrow is pointing...sorry, can't help you there.
-
Apr 6th, 2000, 06:30 AM
#3
Addicted Member
hkmai's code returns value of currently selected cell.
If you want the arrow-denoted row, use the .row property, this returns the activerow, i think it's something like
yourvar = DBgrid1.Rows(DBgrid1.Row).Value
(the syntax might be inaccurate but i hope you get the idea)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|