GuiComboBoxAddItem

From Multi Theft Auto: Wiki
Revision as of 15:49, 7 December 2010 by Remi-X (talk | contribs) (Created page with "{{Client function}} __NOTOC__ Adds an item to a combobox. ==Syntax== <syntaxhighlight lang="lua"> int guiComboBoxAddItem( element comboBox, string value ) </syntaxhighlight> ===Required Arguments=== *'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Adds an item to a combobox.

Syntax

int guiComboBoxAddItem( element comboBox, string value )

Required Arguments

  • comboBox: The grid list you want to add a row to
  • value: The text that the item will contain.

Returns

Returns the item ID if it has been created, 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