menuSort: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \| *s2 *=" to "|r1=$1 |s2=")
Line 17: Line 17:
|p3= AtoZ: [[Boolean]] - [[true]] to sort from A to Z, [[false]] to sort from Z to A
|p3= AtoZ: [[Boolean]] - [[true]] to sort from A to Z, [[false]] to sort from Z to A


| [[Nothing]]
|r1= [[Nothing]]


|s2= control [[menuSort]] [path, AtoZ]
|s2= control [[menuSort]] [path, AtoZ]

Revision as of 15:34, 10 June 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:
Nothing

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