GuiMemoSetCaratIndex: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
m (Changed "DeprecatedWithAlt" template to "Deprecated")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{deprecated}}
{{Client function}}
{{Client function}}
{{Deprecated|guiMemoSetCaretIndex|}}
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.
Please use [[guiMemoSetCaretIndex]]


==Syntax==  
==Syntax==  
Line 17: Line 16:
===Returns===
===Returns===
Returns ''true'' if the caret was successfully moved, ''false'' otherwise.
Returns ''true'' if the caret was successfully moved, ''false'' otherwise.
==Example==
[[Category:Needs Example]]


==See Also==
==See Also==
{{GUI_functions}}
{{GUI_functions}}

Latest revision as of 16:33, 13 February 2015

Emblem-important.png This function is deprecated. This means that its use is discouraged and that it might not exist in future versions.

Please use guiMemoSetCaretIndex instead.


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.

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