tvCollapse: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 11: | Line 11: | ||
|eff= local | |eff= local | ||
| Collapses tree item pointed to by the path. IDC means id of parent Tree View. | |descr= Collapses tree item pointed to by the path. IDC means id of parent Tree View. | ||
|s1= '''tvCollapse''' [idc, path] | |s1= '''tvCollapse''' [idc, path] |
Revision as of 21:26, 13 June 2021
Description
- Description:
- Collapses tree item pointed to by the path. IDC means id of parent Tree View.
- 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