tvSort: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (optional param is now optional) |
Killzone Kid (talk | contribs) No edit summary |
||
Line 52: | Line 52: | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on August 2, 2019 - 17:38 (UTC)</dd> | |||
<dt class="note">[[User:killzone_kid|killzone_kid]]</dt> | |||
<dd class="note"> Prior to Arma 3 v1.95.145935 Optional param ''reversed'' wasn't optional (Delete on or after 1.96) | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 18:38, 2 August 2019
Description
- Description:
- Sorts childrens of given item by item name (tvText). IDC means id of parent Tree View.
Param reversed is optional. - Groups:
- Uncategorised
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:
- lbSortlnbSorttvSortByValuelbSortByValuelnbSortByValuetvAddtvCleartvCollapsetvCounttvCurSeltvDatatvDeletetvExpandtvPicturetvSetCurSeltvSetDatatvSetPicturetvSetValuetvTexttvValue
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
- Posted on August 2, 2019 - 17:38 (UTC)
- killzone_kid
- Prior to Arma 3 v1.95.145935 Optional param reversed wasn't optional (Delete on or after 1.96)