tvCollapseAll: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Collapses all tree items for the given Tree View. |= Description
| Collapses all tree items for the given Tree View. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''tvCollapseAll''' idc |= Syntax
| '''tvCollapseAll''' idc |SYNTAX=


|p1= idc: [[Number]] |PARAMETER1=
|p1= idc: [[Number]] |PARAMETER1=
Line 20: Line 20:
| [[Nothing]] |RETURNVALUE=  
| [[Nothing]] |RETURNVALUE=  


| s2= '''tvCollapseAll''' control |= Syntax
| s2= '''tvCollapseAll''' control |SYNTAX=


|p21= control: [[Control]] |PARAMETER1=  
|p21= control: [[Control]] |PARAMETER1=  
Line 27: Line 27:




|x1= <code>[[tvCollapseAll]] 101;</code> |= Example 1
|x1= <code>[[tvCollapseAll]] 101;</code> |EXAMPLE1=
|x2= <code> [[tvCollapseAll]] _ctrl;</code> |= Example 2
|x2= <code> [[tvCollapseAll]] _ctrl;</code> |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[tvExpandAll]], [[tvCollapse]], [[tvAdd]], [[tvClear]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |= See Also
| [[tvExpandAll]], [[tvCollapse]], [[tvAdd]], [[tvClear]], [[tvCount]], [[tvCurSel]], [[tvData]], [[tvDelete]], [[tvExpand]], [[tvPicture]], [[tvSetCurSel]], [[tvSetData]], [[tvSetPicture]], [[tvSetValue]], [[tvSort]], [[tvSortByValue]], [[tvText]], [[tvValue]] |SEEALSO=


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 15:50, 7 April 2019

Hover & click on the images for description

Description

Description:
Collapses all tree items for the given Tree View.
Groups:
Uncategorised

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:
tvExpandAlltvCollapsetvAddtvCleartvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue

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

Notes

Bottom Section