tvCount: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
(35 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | | |game1= arma3 | ||
|version1= 0.74 | |||
| | |gr1= GUI Control - Tree View | ||
|arg= local | |arg= local | ||
|eff= local | |eff= local | ||
| Returns | |descr= Returns children count on given path. IDC means id of parent Tree View. | ||
| [[tvCount]] [idc, | |s1= [[tvCount]] [idc, path] | ||
|p1= | |p1= idc: [[Number]] | ||
|p2= | |p2= path: [[Array]] of [[Number]]s | ||
| | |r1= [[Number]] | ||
|s2= ctrl [[tvCount]] path | |||
| s2= | |||
| p21= | |p21= ctrl: [[Control]] | ||
| p22= | |p22= path: [[Array]] of [[Number]]s | ||
| r2= [[Number]] | |r2= [[Number]] | ||
|x1= < | |x1= <sqf>tvCount [101, [0]];</sqf> | ||
|x2= < | |x2= <sqf>_ctrl tvCount [1,0];</sqf> | ||
| [[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