tvSortByValue: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ") |
||
Line 23: | Line 23: | ||
| s2 =[[tvSortByValue]] [idc, path, reversed] | | s2 =[[tvSortByValue]] [idc, path, reversed] | ||
| p21= [idc, path, reversed]: [[Array]] | | p21= [idc, path, reversed]: [[Array]] | ||
| p22= idc: [[Number]] - control idc | | p22= idc: [[Number]] - control idc | ||
| p23= path: [[Array]] - [[Tree View Path]] of the parent item to sort | | p23= path: [[Array]] - [[Tree View Path]] of the parent item to sort | ||
| p24= reversed (Optional): [[Boolean]] - [[true]] to reverse sort it. Default: [[false]] | | p24= reversed (Optional): [[Boolean]] - [[true]] to reverse sort it. Default: [[false]] | ||
|r2= [[Nothing]] | |r2= [[Nothing]] |
Revision as of 18:12, 29 January 2021
Description
- Description:
- Description needed
- Groups:
- GUI Control - Tree View
Syntax
- Syntax:
- Syntax needed
- Parameters:
- control: Control
- [path, reversed]: Array
- path: Array - Tree View Path of the parent item to sort
- reversed (Optional): Boolean - true to reverse sort it. Default: false
- Return Value:
- Return value needed
Alternative Syntax
- Syntax:
- tvSortByValue [idc, path, reversed]
- Parameters:
- [idc, path, reversed]: Array
- idc: Number - control idc
- path: Array - Tree View Path of the parent item to sort
- reversed (Optional): Boolean - true to reverse sort it. Default: false
- Return Value:
- Nothing
Examples
- Example 1:
control tvSortByValue [[0], false];
- Example 2:
tvSortByValue [102, [0], false];
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