lbAdd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Correct params)
(+ category)
Line 41: Line 41:
[[Category:Scripting Commands OFP 1.96|LBADD]]
[[Category:Scripting Commands OFP 1.96|LBADD]]
[[Category:Scripting Commands ArmA|LBADD]]
[[Category:Scripting Commands ArmA|LBADD]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 23:51, 5 May 2007

Hover & click on the images for description

Description

Description:
Adds an item with the given text to the listbox or combobox with id idc of the topmost user dialog. It returns the index of the newly added item.
Groups:
Uncategorised

Syntax

Syntax:
lbAdd [idc, text]
Parameters:
[idc, text]: Array
Return Value:
Number

Examples

Example 1:
_index = lbAdd [101, "First item"]

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section