GuiEditSetMaxLength

From Multi Theft Auto: Wiki
Revision as of 04:07, 21 December 2006 by JonChappell (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function sets the maximum text length that can be typed into an edit box.

Syntax

bool guiEditSetMaxLength ( element theElement, int length )

Required Arguments

  • theElement: The edit box to be changed.
  • lenth: An integer indicating the maximum number of characters that can be typed into the box.

Returns

Returns true if the function is successful, false otherwise.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

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