lbAdd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Number]] <nowiki>=</nowiki> '''lbAdd ''[idc, "text"]''''' |= Syntax
| [[Number]] <nowiki>=</nowiki> '''lbAdd''' [idc, text] |= Syntax


|p1= idc [[Number]] of control
|p1= [idc, text]: [[Array]] |= Parameter 1
|p2= "text" [[String]] |= Parameter 1
|p2= idc: [[Number]] of control |= Parameter 2
|p3= text: [[String]] |= Parameter 3


| [[Number]] |= Return value
| [[Number]] |= Return value

Revision as of 19:19, 23 January 2009

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:
Number = lbAdd [idc, text]
Parameters:
[idc, text]: Array
idc: Number of control
text: String
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