- Documentation
- Client functions
- guiMemoGetCaretIndex
Function
guiMemoGetCaretIndex
Returns the cursor position in a multi-line field. Another name for guiEditGetCaretIndex.
Syntax
int guiMemoGetCaretIndex(gui-memo theMemo)Arguments
theMemogui-memo- The field.
Returns
Position.
Example
outputChatBox(guiMemoGetCaretIndex(memo))