Arma 3 Scripting

Command in GUI Control - ListBox

lbColorRight

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

Description

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

Syntax

Syntax 1

lbColorRight [idc, index]

Parameters:

Returns: Color (RGBA)

Syntax 2

control lbColorRight index

Parameters:

Returns: Color (RGBA)

Examples

Example 1

_colour = lbColorRight [101, 0];

Example 2

_color = _control lbColorRight 0;

See also

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