lbSort: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
Line 17: Line 17:
|s2= [[lbSort]] [control, sortOrder] {{Since|arma3|1.18|y}}
|s2= [[lbSort]] [control, sortOrder] {{Since|arma3|1.18|y}}


|p21=  control: [[Control]] |PARAMETER21=
|p21=  control: [[Control]]
|p22=  sortOrder: [[String]] - "ASC": ascending, "DESC": descending|PARAMETER22=
|p22=  sortOrder: [[String]] - "ASC": ascending, "DESC": descending


|r2= [[Nothing]]
|r2= [[Nothing]]
Line 24: Line 24:
|s3= [[lbSort]] idc {{Since|arma3|1.67|y}}
|s3= [[lbSort]] idc {{Since|arma3|1.67|y}}


|p41=  idc: [[Number]] |PARAMETER41=
|p41=  idc: [[Number]]


|r3= [[Nothing]]
|r3= [[Nothing]]
Line 30: Line 30:
|s4= [[lbSort]] [idc, sortOrder] {{Since|arma3|1.67|y}}
|s4= [[lbSort]] [idc, sortOrder] {{Since|arma3|1.67|y}}


|p61=  idc: [[Number]] |PARAMETER61=
|p61=  idc: [[Number]]


|p62=  sortOrder: [[String]] - "ASC": ascending, "DESC": descending |PARAMETER62=
|p62=  sortOrder: [[String]] - "ASC": ascending, "DESC": descending


|r4= [[Nothing]]
|r4= [[Nothing]]

Revision as of 18:06, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - ListBox

Syntax 1

Syntax:
Syntax needed
Parameters:
control: Control
Return Value:
Return value needed

Syntax 2

Syntax:
lbSort [control, sortOrder] Template:Since
Parameters:
control: Control
sortOrder: String - "ASC": ascending, "DESC": descending
Return Value:
Nothing

Syntax 3

Syntax:
lbSort idc Template:Since
Parameters:
idc: Number
Return Value:
Nothing

Syntax 4

Syntax:
lbSort [idc, sortOrder] Template:Since
Parameters:
idc: Number
sortOrder: String - "ASC": ascending, "DESC": descending
Return Value:
Nothing

Examples

Example 1:
lbSort _myControl;
Example 2:
lbSort [_myControl, "DESC"];
Example 3:
lbSort 101;
Example 4:
lbSort [101, "DESC"];

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
Posted: Sep 10 2014
ffur2007slx2_5
More information on the LB command family can be found on the List Box page.