tvSort: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= |
Revision as of 04:22, 17 January 2021
Description
- Description:
- Sorts all children of given path. Text of Tree View entries is used for sorting.
- Groups:
- GUI Control - Tree View
Syntax
- Syntax:
- control tvSort [path, reversed]
- 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:
- Nothing
Alternative Syntax
- Syntax:
- tvSort [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
Additional Information
- See also:
- tvSortAll tvSortByValue tvSortByValueAll
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