- Documentation
- Client functions
- guiMemoSetCaretIndex
Function
guiMemoSetCaretIndex
Sets the cursor position in a multi-line field. Another name for guiEditSetCaretIndex.
Syntax
bool guiMemoSetCaretIndex(gui-memo theMemo, int index)Arguments
theMemogui-memo- The field.
indexint- Position.
Returns
true on success.
Example
guiMemoSetCaretIndex(memo, 0)