Arma 3 Scripting

Command in GUI Control - ListBox

lbColor

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

Description

Returns the text color of the item with the given index of the CT_LISTBOX or CT_COMBO with IDC of the topmost user dialog.

Syntax

Syntax 1

lbColor [idc, index]

Parameters:

Returns: Color (RGBA)

Syntax 2

control lbColor index

Parameters:

Returns: Color (RGBA)

Examples

Example 1

_colour = lbColor [101, 0];

Example 2

_color = _control lbColor 0;

See also

lbSetColor