CURSOR-OFFSET attribute

The character offset of the cursor within a widget.

Data type: INTEGER

Access: Readable/Writeable

Applies to: BROWSE widget (cell), COMBO-BOX widget, EDITOR widget, FILL-IN widget

Assigning a value to CURSOR-OFFSET moves the text cursor to the specified character offset. If the editor widget is not already realized, the AVM realizes the widget when you query the CURSOR-OFFSET attribute.

In Windows, both the regular editor and the large editor support CURSOR-OFFSET.

For browses, this attribute applies only to fill-in and combo-box browse columns.

For browse columns, CURSOR-OFFSET specifies the character offset of the cursor within a browse-cell of the browse column.