lbAdd
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint
- Version:
- 1.5
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.
Syntax
- Syntax:
- Number = lbAdd [idc, "text"]
- Parameters:
- idc Number of control
- "text" String
- Return Value:
- Number
Examples
- Example 1:
_index = lbAdd [101, "First item"]
Additional Information
- Multiplayer:
- Behaviour unknown.

