Arma 3 Scripting

Command in GUI Control - Tree View

tvCount

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

Description

Returns children count on given path. IDC means id of parent Tree View.

Syntax

Syntax 1

tvCount [idc, path]

Parameters:

Returns: Number

Syntax 2

ctrl tvCount path

Parameters:

Returns: Number

Examples

Example 1

tvCount [101, [0]];

Example 2

_ctrl tvCount [1,0];

See also

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