tvCollapse: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
Line 25: Line 25:
| s2= control '''tvCollapse''' path
| s2= control '''tvCollapse''' path


|p21= control: [[Control]] |PARAMETER21= 
|p21= control: [[Control]]


|p22= path: [[Array]] - Item [[Tree View Path]]. [] will collapse the whole tree and it will disappear |PARAMETER22=
|p22= path: [[Array]] - Item [[Tree View Path]]. [] will collapse the whole tree and it will disappear


|r2= [[Nothing]]
|r2= [[Nothing]]

Revision as of 18:06, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - Tree View

Syntax

Syntax:
Syntax needed
Parameters:
[idc, path]: Array
idc: Number
path: Array - Item Tree View Path. [] will collapse the whole tree and it will disappear
Return Value:
Return value needed

Alternative Syntax

Syntax:
control tvCollapse path
Parameters:
control: Control
path: Array - Item Tree View Path. [] will collapse the whole tree and it will disappear
Return Value:
Nothing

Examples

Example 1:
tvCollapse [101, [0]];
Example 2:
_ctrl tvCollapse [0];

Additional Information

See also:
See also needed

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