Specifies the position of the caret in the control. The caret indicates the cell that the input focus.
The CARETPOS property is an @fm delimited array consisting of two fields:
<1> Column Position
<2> Row Position
If the control is empty (i.e. it contains no rows or all rows are hidden) both the Column and Row position return “0” when used with Get_Property (please see caveat in Remarks below).
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
N/A | Get/Set | No | No | No |
In earlier versions of OpenInsight the CARETPOS property returned “1” for the column position and “0” for the row position when the control contains no data. This is still the case if the control’s parent form has not been recompiled under the current version (10+). If it has been recompiled the behavior is as noted above.
SELPOS property, CELLPOS property.