getCursor

returns the current cursor position.

number getCursor();
numberthe cursor position

Example

data.getCursor();

Details

The cursor position is the ID of an item that the cursor is set on, not the item index.

See also
Back to top