menuSort: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - " <nowiki>[</nowiki>[" to " [<nowiki/>[")
Line 29: Line 29:
|r2=  [[Nothing]]
|r2=  [[Nothing]]


|x1=  <Code>[[findDisplay]] 313 [[displayCtrl]] 120 [[menuSort]] <nowiki>[</nowiki>[],[[true]]];</code>
|x1=  <Code>[[findDisplay]] 313 [[displayCtrl]] 120 [[menuSort]] [<nowiki/>[],[[true]]];</code>


| ‎[[menuEnable]], [[menuExpand]], [[menuCollapse]], [[menuSetData]], [[menuSetValue]], [[‎menuSetCheck]], [[menuSetAction]], [[menuDelete]], [[menuAdd]], [[‎menuHover]], [[menuValue]], [[menuURL]], [[‎menuText]], [[menuEnabled]], [[‎menuChecked]], [[menuAction]], [[menuShortcutText]], [[menuShortcut]], [[menuPicture]], [[menuData]], [[menuClear]], [[menuSetPicture]]
| ‎[[menuEnable]], [[menuExpand]], [[menuCollapse]], [[menuSetData]], [[menuSetValue]], [[‎menuSetCheck]], [[menuSetAction]], [[menuDelete]], [[menuAdd]], [[‎menuHover]], [[menuValue]], [[menuURL]], [[‎menuText]], [[menuEnabled]], [[‎menuChecked]], [[menuAction]], [[menuShortcutText]], [[menuShortcut]], [[menuPicture]], [[menuData]], [[menuClear]], [[menuSetPicture]]

Revision as of 20:13, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - Menu

Syntax

Syntax:
Syntax needed
Parameters:
idc: Number
path: Array
AtoZ: Boolean - true to sort from A to Z, false to sort from Z to A
Return Value:
Return value needed

Alternative Syntax

Syntax:
control menuSort [path, AtoZ]
Parameters:
control: Control
path: Array
AtoZ: Boolean - true to sort from A to Z, false to sort from Z to A
Return Value:
Nothing

Examples

Example 1:
findDisplay 313 displayCtrl 120 menuSort [[],true];

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