Arma 3 Scripting

Command in GUI Control - ListBox

lbSetSelectColor

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

Description

Sets the select color of the item with the given index of the listbox or combobox with id idc of the topmost user dialog to color.

Syntax

Syntax 1

lbSetSelectColor [idc, index, color]

Parameters:

Returns: Nothing

Syntax 2

control lbSetSelectColor [index, color]

Parameters:

Returns: Nothing

Examples

Example 1

lbSetSelectColor [101, 0, [0, 1, 0, 0.5]];

Example 2

_control lbSetSelectColor [0, [0, 1, 0, 0.5]];

See also

lbSetColor · lbAdd · lbClear · lbColor · lbCurSel · lbData · lbDelete · lbIsSelected · lbPicture · lbSelection · lbSetCurSel · lbSetData · lbSetPicture · lbSetSelected · lbSetTooltip · lbSetValue · lbSize · lbSort · lbSortByValue · lbText · lbValue