tvCollapse: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \| *s2 *=" to "|r1=$1 |s2=") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
||
Line 13: | Line 13: | ||
| Collapses tree item pointed to by the path. IDC means id of parent Tree View. | | Collapses tree item pointed to by the path. IDC means id of parent Tree View. | ||
| '''tvCollapse''' [idc, path] | |s1= '''tvCollapse''' [idc, path] | ||
|p1= [idc, path]: [[Array]] | |p1= [idc, path]: [[Array]] |
Revision as of 23:29, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- GUI Control - Tree View
Syntax
- Syntax:
- tvCollapse [idc, path]
- Parameters:
- [idc, path]: Array
- idc: Number
- path: Array - Item Tree View Path. [] will collapse the whole tree and it will disappear
- Return Value:
- Nothing
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:
- tvCollapseAlltvAddtvCleartvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvSorttvSortByValuetvTexttvValue
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