tvCollapseAll: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>") |
||
(39 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= Collapses all tree items for the given Tree View. | ||
| | |s1= [[tvCollapseAll]] idc | ||
| | |p1= idc: [[Number]] | ||
| | |r1= [[Nothing]] | ||
| [[ | |s2= [[tvCollapseAll]] control | ||
| | |p21= control: [[Control]] | ||
| | |r2= [[Nothing]] | ||
| | |x1= <sqf>tvCollapseAll 101;</sqf> | ||
|x2= <sqf>tvCollapseAll _ctrl;</sqf> | |||
|seealso= [[tvExpandAll]] [[tvCollapse]] [[tvAdd]] [[tvClear]] [[tvCount]] [[tvCurSel]] [[tvData]] [[tvDelete]] [[tvExpand]] [[tvPicture]] [[tvSetCurSel]] [[tvSetData]] [[tvSetPicture]] [[tvSetValue]] [[tvSort]] [[tvSortByValue]] [[tvText]] [[tvValue]] | |||
| | |||
}} | }} | ||
Latest revision as of 13:17, 5 May 2022
Description
- Description:
- Collapses all tree items for the given Tree View.
- Groups:
- GUI Control - Tree View
Syntax
- Syntax:
- tvCollapseAll idc
- Parameters:
- idc: Number
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- tvCollapseAll control
- Parameters:
- control: Control
- Return Value:
- Nothing
Examples
- Example 1:
- tvCollapseAll 101;
- Example 2:
- tvCollapseAll _ctrl;
Additional Information
- See also:
- tvExpandAll tvCollapse tvAdd tvClear tvCount 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