lbSort: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) |
||
Line 32: | Line 32: | ||
|p41= idc: [[Number]] |PARAMETER1= | |p41= idc: [[Number]] |PARAMETER1= | ||
|r3= [[Nothing]] | | |r3= [[Nothing]] |RETURNVALUE3= | ||
|s4= '''lbSort''' [idc, sortOrder] (''since Arma 3 v1.67'')|SYNTAX= | |s4= '''lbSort''' [idc, sortOrder] (''since Arma 3 v1.67'')|SYNTAX= |
Revision as of 21:51, 3 September 2019
Description
- Description:
- Sorts listbox entries alphabetically ascending by their lbText
- Groups:
- Uncategorised
Syntax 1
Syntax 2
- Syntax:
- lbSort [control, sortOrder] (since Arma 3 v1.18)
- Parameters:
- control: Control
- sortOrder: String - "ASC": ascending, "DESC": descending
- Return Value:
- Nothing
Syntax 3
Syntax 4
- Syntax:
- lbSort [idc, sortOrder] (since Arma 3 v1.67)
- 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:
- lbSortByValuelnbSorttvSortlbSortByValuetvSortByValuelnbSortByValuelbAddlbClearlbColorlbCurSellbDatalbDeletelbIsSelectedlbPicturelbSelectionlbSetColorlbSetCurSellbSetDatalbSetPicturelbSetSelectedlbSetTooltiplbSetValuelbSizelbTextlbValue
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
- Posted: Sep 10 2014
- ffur2007slx2_5
- More information on the LB command family can be found here