OverviewExamples
table Grid.GetFocusCell ( |
Returns a table that contains the row and column index of the cell that currently has the input focus in a grid object.
(string) The name of the grid object.
(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.
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