GuiMemoSetCaratIndex

From Multi Theft Auto: Wiki
Revision as of 10:39, 16 November 2007 by Jbeta (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 guiMemoSetCaratIndex ( 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 guiMemoSetCaratIndex ( 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