tvCount: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
(22 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 0.74 | |||
|0.74 | |||
|gr1= GUI Control - Tree View | |gr1= GUI Control - Tree View | ||
Line 11: | Line 10: | ||
|eff= local | |eff= local | ||
| Returns children count on given path. IDC means id of parent Tree View. | |descr= Returns children count on given path. IDC means id of parent Tree View. | ||
| [[tvCount]] [idc, path] | |s1= [[tvCount]] [idc, path] | ||
|p1= idc: [[Number]] | |p1= idc: [[Number]] | ||
Line 19: | Line 18: | ||
|p2= path: [[Array]] of [[Number]]s | |p2= path: [[Array]] of [[Number]]s | ||
| [[Number]] | |r1= [[Number]] | ||
|s2= ctrl [[tvCount]] path | |s2= ctrl [[tvCount]] path | ||
Line 29: | Line 28: | ||
|r2= [[Number]] | |r2= [[Number]] | ||
|x1= < | |x1= <sqf>tvCount [101, [0]];</sqf> | ||
|x2= < | |x2= <sqf>_ctrl tvCount [1,0];</sqf> | ||
|seealso= [[tvAdd]] | |seealso= [[tvAdd]] [[tvClear]] [[tvCollapse]] [[tvCurSel]] [[tvData]] [[tvDelete]] [[tvExpand]] [[tvPicture]] [[tvSetCurSel]] [[tvSetData]] [[tvSetPicture]] [[tvSetValue]] [[tvSort]] [[tvSortByValue]] [[tvText]] [[tvValue]] | ||
}} | }} |
Latest revision as of 10:25, 13 May 2022
Description
- Description:
- Returns children count on given path. IDC means id of parent Tree View.
- Groups:
- GUI Control - Tree View
Syntax
Alternative Syntax
Examples
- Example 1:
- tvCount [101, [0]];
- Example 2:
- _ctrl tvCount [1,0];
Additional Information
- See also:
- tvAdd tvClear tvCollapse tvCurSel tvData tvDelete tvExpand tvPicture tvSetCurSel tvSetData tvSetPicture tvSetValue tvSort tvSortByValue tvText tvValue
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