GuiComboBoxAddItem: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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=== *'...")
 
No edit summary
Line 9: Line 9:


===Required Arguments===  
===Required Arguments===  
*'''comboBox:''' The grid list you want to add a row to
*'''comboBox:''' The combobox you want to add a row to
*'''value:''' The text that the item will contain.
*'''value:''' The text that the item will contain.



Revision as of 14:03, 10 August 2011

Adds an item to a combobox.

Syntax

int guiComboBoxAddItem( element comboBox, string value )

Required Arguments

  • comboBox: The combobox 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