|

ResultVariable


When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.


See also: Related Actions


image

image

Grid.GetFocusCell

OverviewExamples

table Grid.GetFocusCell ( string ObjectName )


De s cr ip t ion


Returns a table that contains the row and column index of the cell that currently has the input focus in a grid object.


P arame t er s


ObjectName


(string) The name of the grid object.


Re t u r n s


(table) A table indexed by the following values. If an error occurs, nil will be returned. If no cell currently has focus, then Row and Column are both returned as -1.



KEY


TYPE DESCRIPTION


Row


number


The (zero-based) index of the row.


Column


number


The (zero-based) index of the column.

You can use Application.GetLastError to determine whether this action failed, and why.


|