lbAdd [idc, text]

Operand types

[idc, text]: Array

Type of returned value

Description

Add item with the given text to listbox or combobox with id idc of topmost user dialog.
It returns the index of newly added item.

Used In

OFP/ArmA

Example

_index = lbAdd [101, "First item"]
Search OFPEC COMREF