tvCount

From Bohemia Interactive Community
Revision as of 09:34, 11 September 2014 by Ffur2007slx2 5 (talk | contribs) (syntax & example)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns childrens count of item on given path. IDC means id of parent Tree View.
Groups:
Uncategorised

Syntax

Syntax:
tvCount [idc, [path]]
Parameters:
[idc, [path]]: Array
idc: Number
[path]: Array - Array containing numbers.
Return Value:
Number

Alternative Syntax

Syntax:
_ctrl tvCount [path]
Parameters:
_ctrl: Control
[path]: Array of Number
Return Value:
Number

Examples

Example 1:
tvCount [101, [0]];
Example 2:
_ctrl tvCount [1,0];

Additional Information

See also:
tvAddtvCleartvCollapsetvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section