Arma 3 Scripting

tvCount

  • Local argument
  • Local effect
  • Arma 3 v0.74

Command · Markdown · JSON · 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