GuiMemoGetCaretIndex

From Multi Theft Auto: Wiki
Revision as of 21:10, 7 May 2017 by Necktrox (talk | contribs)
Jump to navigation Jump to search

Accessories-text-editor.png Script Example Missing Function GuiMemoGetCaretIndex needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


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

Syntax

int guiMemoGetCaretIndex ( element theElement )

Required Arguments

  • theElement: The memo 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