Arma 3 Scripting

Command in GUI Control - Tree View

tvCollapse

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

Description

Collapses tree item pointed to by the path. IDC means id of parent Tree View.

Syntax

Syntax 1

tvCollapse [idc, path]

Parameters:

Returns: Nothing

Syntax 2

control tvCollapse path

Parameters:

Returns: Nothing

Examples

Example 1

tvCollapse [101, [0]];

Example 2

_ctrl tvCollapse [0];

See also

tvCollapseAll · tvAdd · tvClear · tvCount · tvCurSel · tvData · tvDelete · tvExpand · tvPicture · tvSetCurSel · tvSetData · tvSetPicture · tvSetValue · tvSort · tvSortByValue · tvText · tvValue