Warning: file_put_contents(/ff_97f8de26904ed19f47e2bf1c438844659cb3ff85375c1812.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
lbAdd - OFPEC Scripting Command Reference | OFPEC The Editing Center

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"]

Advertisement