Arma 3 Scripting

Command in GUI Control - ListBox

lbSetColorRight

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

Description

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

Syntax

Syntax 1

lbSetColorRight [idc, index, color]

Parameters:

Returns: Nothing

Syntax 2

control lbSetColorRight [index, color]

Parameters:

Returns: Nothing

Examples

Example 1

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

Example 2

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

See also

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

Community notes

ffur2007slx2_5

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