tvCollapseAll: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> </dl>" to "")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(27 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.


| '''tvCollapseAll''' idc
|s1= [[tvCollapseAll]] idc


|p1= idc: [[Number]]
|p1= idc: [[Number]]


| [[Nothing]]
|r1= [[Nothing]]


| s2= '''tvCollapseAll''' control
|s2= [[tvCollapseAll]] control


|p21= control: [[Control]]
|p21= control: [[Control]]
Line 25: Line 24:
|r2= [[Nothing]]
|r2= [[Nothing]]


|x1= <code>[[tvCollapseAll]] 101;</code>
|x1= <sqf>tvCollapseAll 101;</sqf>
|x2= <code> [[tvCollapseAll]] _ctrl;</code>
|x2= <sqf>tvCollapseAll _ctrl;</sqf>


|seealso= [[tvExpandAll]], [[tvCollapse]], [[tvAdd]], [[tvClear]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]]
|seealso= [[tvExpandAll]] [[tvCollapse]] [[tvAdd]] [[tvClear]] [[tvCount]] [[tvCurSel]] [[tvData]] [[tvDelete]] [[tvExpand]] [[tvPicture]] [[tvSetCurSel]] [[tvSetData]] [[tvSetPicture]] [[tvSetValue]] [[tvSort]] [[tvSortByValue]] [[tvText]] [[tvValue]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 13:17, 5 May 2022

Hover & click on the images for description

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