Arma 3 Scripting

Command in GUI Control - ListBox

lbSetValue

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets the additional value in the row with the given index of a CT_LISTBOX or CT_COMBO control.

Syntax

Syntax 1

lbSetValue [idc, index, value]

Parameters:

Returns: Nothing

Syntax 2

control lbSetValue [index, value]

Parameters:

Returns: Nothing

Examples

Example 1

lbSetValue [101, 0, 1];

Example 2

_control lbSetValue [0, 1];

See also

lbSortByValue · lbValue