lnbSort: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
mNo edit summary
Line 6: Line 6:
|1.08|= Game version
|1.08|= Game version


|arg= local |= Arguments in MP
|eff= local |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 13:07, 27 January 2017

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