tvCollapseAll: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>") |
||
(21 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 | ||
| Collapses all tree items for the given Tree View. | |descr= Collapses all tree items for the given Tree View. | ||
|s1= | |s1= [[tvCollapseAll]] idc | ||
|p1= idc: [[Number]] | |p1= idc: [[Number]] | ||
Line 19: | Line 18: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|s2= | |s2= [[tvCollapseAll]] control | ||
|p21= control: [[Control]] | |p21= control: [[Control]] | ||
Line 25: | Line 24: | ||
|r2= [[Nothing]] | |r2= [[Nothing]] | ||
|x1= < | |x1= <sqf>tvCollapseAll 101;</sqf> | ||
|x2= < | |x2= <sqf>tvCollapseAll _ctrl;</sqf> | ||
|seealso= [[tvExpandAll]] | |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