lbSort

From Bohemia Interactive Community
Revision as of 08:47, 18 April 2014 by Muf (talk | contribs)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.08
Hover & click on the images for description

Description

Description:
Sorts listbox entries alphabetically ascending by their text. Second version of the command allows descending sorting as well. Order could be:
  • "ASC"
  • "DESC"
Groups:
Uncategorised

Syntax

Syntax:
lbSort control
lbSort [control, sortOrder]
Parameters:
control: Control
sortOrder: String
Return Value:
Nothing

Examples

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

Additional Information

See also:
lbAddlbClearlbColorlbCurSellbDatalbDeletelbIsSelectedlbPicturelbSelectionlbSetColorlbSetCurSellbSetDatalbSetPicturelbSetSelectedlbSetTooltiplbSetValuelbSizelbSortByValuelbTextlbValue

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