GuiEditGetCaretIndex

From Multi Theft Auto: Wiki
Revision as of 15:08, 24 February 2014 by Jusonex (talk | contribs) (Created page with "{{New feature/item|3.0135|1.3.5|6054| This function returns the caret (the text cursor) position within the editbox. }} ==Syntax== <syntaxhighlight lang="lua"> int guiEditGetCaretIndex ( elem...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function returns the caret (the text cursor) position within the editbox.

Syntax

int guiEditGetCaretIndex ( element theElement )

Required Arguments

  • theElement: The edit box you want to get the caret position from

Returns

Returns the caret index on success, false otherwise.

Example

Todo

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