tvCount: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Fred Gandt (talk | contribs) m (continuity rules!) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns childrens count of item on given path. IDC means id of parent Tree View. | | 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]] | |p1= [idc, [path]]: [[Array]] |= PARAMETER1 | ||
|p2= idc: [[Number]] | |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>|= | |x1= <code>[[tvCount]] [101, [0]];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= | | [[tvAdd]], [[tvClear]], [[tvCollapse]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= See Also | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 12:34, 12 April 2014
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