GuiMemoSetCaratIndex

From Multi Theft Auto: Wiki
Revision as of 11:05, 25 June 2012 by Callum (talk | contribs) (Shouldn't need an example now deprecated.)
Jump to navigation Jump to search


Emblem-important.png This function is deprecated. This means that its use is discouraged and that it might not exist in future versions, but there should be a more generic way to perform what it does.

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

Please use guiMemoSetCaretIndex

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.

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