menuCollapse: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 20: Line 20:
|x1=  <Code>[[findDisplay]] 313 [[displayCtrl]] 120 [[menuCollapse]] [0];</code> |EXAMPLE1=
|x1=  <Code>[[findDisplay]] 313 [[displayCtrl]] 120 [[menuCollapse]] [0];</code> |EXAMPLE1=


| [[menuExpand]] |SEEALSO=
|[[menuExpand]] |SEEALSO=
}}
}}


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 10:58, 18 October 2020

Hover & click on the images for description

Description

Description:
Collapses item on given path and all its children.
Groups:
GUI Control - Menu

Syntax

Syntax:
menuCollapse [idc, path]
Parameters:
idc: Number
path: Array
Return Value:
Nothing

Alternative Syntax

Syntax:
control menuCollapse path
Parameters:
control: Control
path: Array
Return Value:
Nothing

Examples

Example 1:
findDisplay 313 displayCtrl 120 menuCollapse [0];

Additional Information

See also:
menuExpand

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