tvCount: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix bad regex effects) Tag: Undo |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
(31 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 | ||
| | |eff= local | ||
| | |descr= Returns children count on given path. IDC means id of parent Tree View. | ||
| | |s1= [[tvCount]] [idc, path] | ||
| [[ | |p1= idc: [[Number]] | ||
| | |p2= path: [[Array]] of [[Number]]s | ||
| | |r1= [[Number]] | ||
| [[ | |s2= ctrl [[tvCount]] path | ||
| | |p21= ctrl: [[Control]] | ||
| | |p22= path: [[Array]] of [[Number]]s | ||
| | |r2= [[Number]] | ||
| | |x1= <sqf>tvCount [101, [0]];</sqf> | ||
| | |x2= <sqf>_ctrl tvCount [1,0];</sqf> | ||
| | |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