tvCount: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (continuity rules!)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns childrens count of item on given path. IDC means id of parent Tree View. |= Description
| Returns childrens count of item on given path. IDC means id of parent Tree View. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''tvCount''' [idc, [path]] |= Syntax
| '''tvCount''' [idc, [path]] |= Syntax


|p1= [idc, [path]]: [[Array]] |= PARAMETER1  
|p1= [idc, [path]]: [[Array]] |= PARAMETER1  


|p2= idc: [[Number]] |= PARAMETER2  
|p2= idc: [[Number]] |= PARAMETER2  


|p3= [path]: [[Array]] - Array containing numbers. |= PARAMETER3  
|p3= [path]: [[Array]] - Array containing numbers. |= PARAMETER3  
Line 21: Line 21:




|x1= <code>tvCount [101, [0]]</code>|= EXAMPLE1
|x1= <code>[[tvCount]] [101, [0]];</code> |= Example 1
 
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= SEEALSO
| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= See Also


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 13:34, 12 April 2014

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

Examples

Example 1:
tvCount [101, [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