Arma 3 Scripting

Command in GUI Control - Controls Table

ctSetCurSel

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

Description

Selects the line with the given index. Will take only rows, but not headers into account. -1 deselects all. Returns Nothing.

Syntax

control ctSetCurSel index

Parameters:

Returns: Nothing

Examples

Example 1

_control ctSetCurSel 0;

See also

ctAddRow · ctAddHeader · ctClear · ctCurSel · ctRowControls · ctHeaderControls · ctRowCount · ctHeaderCount · ctSetValue · ctValue · ctSetData · ctData · ctFindRowHeader · ctFindHeaderRows · ctRemoveRows · ctRemoveHeaders · ctSetRowTemplate · ctSetHeaderTemplate