GuiMemoSetCaratIndex: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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...)
 
mNo edit summary
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{deprecated}}
{{Client function}}
{{Client function}}
This function sets the current position of the caret (the text cursor) within the memo.
This function sets the current position of the caret (the text cursor) within the memo.

Revision as of 16:08, 30 January 2009


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.

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