lnbSort

From Bohemia Interactive Community
Revision as of 13:07, 27 January 2017 by Killzone Kid (talk | contribs) (format)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Sorts given multicolumn listbox by texts in given column in ascending or descending order.
Groups:
Uncategorised

Syntax

Syntax:
lnbSort [idc, column, reversed]
Parameters:
[idc, column, reversed]: Array
idc: Number
column: Number
reversed (Optional): Boolean - false: descending / true: ascending. Default: false
Return Value:
Nothing

Alternative Syntax

Syntax:
control lnbSort [column, reversed]
Parameters:
[column, reversed]: Array
column: Number
reversed (Optional): Boolean - false: descending / true: ascending. Default: false
Return Value:
Nothing

Examples

Example 1:
lnbSort [1800, 1, false];
Example 2:
_ctl lnbSort [1, true]

Additional Information

See also:
lbSortlnbSortByValuetvSortByValuelbSortByValuetvSortlbAddlbClearlbColorlbCurSellbDatalbDeletelbIsSelectedlbPicturelbSelectionlbSetColorlbSetCurSellbSetDatalbSetPicturelbSetSelectedlbSetTooltiplbSetValuelbSizelbSortByValuelbTextlbValue

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

Bottom Section