Arma 3 Scripting

Command in GUI Control - ListBox

lbIsSelected

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

Description

Checks whether or not given row of the given listbox is selected.

Syntax

control lbIsSelected index

Parameters:

Returns: Boolean

Examples

Example 1

_selected = _control lbIsSelected 0;

See also

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