lbAdd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|L]]
[[Category:Scripting Commands ArmA|L]]


back to [[Scripting_Reference#L|COMREF]]


<h2 style="color:#000066"> '''lbAdd [''idc'', ''text'']'''</h2>
<h2 style="color:#000066"> '''lbAdd [''idc'', ''text'']'''</h2>

Revision as of 12:24, 23 April 2006


lbAdd [idc, text]


Operand types:

[idc, text]: Array

Type of returned value:

Number

Compatibility:

Added in version 1.50

Description:

Add item with given text to listbox or combobox with id idc of topmost user dialog.

Return index of new added item.


Example:

_index = lbAdd [101, "First item"]