Arma 3 Scripting

lbSetColorRight

  • Local argument
  • Local effect
  • Arma 3 v0.50
  • First in Operation Flashpoint

Command · Markdown · JSON · 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.