Arma 3 Scripting

Command in GUI Control - ListBox

lbPicture

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

Description

Returns the picture name of the item with the given index of the listbox or combobox with id idc of the topmost user dialog.

Syntax

Syntax 1

lbPicture [idc, index]

Parameters:

Returns: String

Syntax 2

control lbPicture index

Parameters:

Returns: String

Examples

Example 1

_picture = lbPicture [101, 0];

Example 2

_picture = _control lbPicture 0;

See also

lbSetPicture