Arma 3 Scripting

Command in GUI Control - ListBox

lbData

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

Description

Returns the data set in given index of the CT_LISTBOX or CT_COMBO.

Syntax

Syntax 1

lbData [idc, index]

Parameters:

Returns: String

Syntax 2

control lbData index

Parameters:

Returns: String

Examples

Example 1

_data = lbData [101, 0];

Example 2

_data = _control lbData 0;

See also

lbSetData

Community notes

ffur2007slx2_5

More information on the CT_LISTBOX command family can be found here.