GuiMemoSetCaretIndex

From Multi Theft Auto: Wiki
Revision as of 14:21, 30 January 2009 by Talidan (talk | contribs) (New page: __NOTOC__ {{Client function}} This function sets the current position of the caret (the text cursor) within the memo. ==Syntax== <syntaxhighlight lang="lua"> bool guiMemoSetCaretIndex ( gui-memo theMe...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function sets the current position of the caret (the text cursor) within the memo.

Syntax

bool guiMemoSetCaretIndex ( gui-memo theMemo, int index )

Required Arguments

  • theMemo: The memo edit box where the caret position is to be changed.
  • index: An integer referring to the desired position within the box.

Returns

Returns true if the caret was successfully moved, false otherwise.

Example

See Also

General functions

Browsers

Buttons

Checkboxes

Comboboxes

Edit Boxes

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows