Define form variables to get the value of each of the table columns you want to 
capture.
These variables always have the values from the current row.

You can then use your getproperty to discover which column was clicked

With that info, you should be able to decide which variable has the value you 
want

Dennis McGrath
Software Developer
QMI Security Solutions
1661 Glenlake Ave
Itasca IL 60143
630-980-8461
[email protected]
From: [email protected] [mailto:[email protected]] On Behalf Of Dr. Fritz 
Luettgens
Sent: Monday, November 25, 2013 1:03 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - DBGrid GETPRPROPERTY Command for Cell-Value

Hi,
I want to bring the value of any cell in colum1 within a dbgrid with a 
mouseclick into a variable.
Idea is to click on a cell and the variable takes over the text value,
but cannot find the proper syntax.

On DB Grid Cell Click EEP:

RECALC VAR
GETPROPERTY <DBGrid1> "COLUMNS[0]->FIELDNAME" "variable"
RETURN

Fieldname is definitely wrong, something like cellvalue is what I look for.
I am sure there is a GETPROPERTY command,
but just can´t see it,

Thank´s
Fritz

Reply via email to