lnbSortByValue: 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 23: Line 23:
|s2= control '''lnbSortByValue''' [column, reversed]
|s2= control '''lnbSortByValue''' [column, reversed]


|p21=  control: [[Control]]|PARAMETER21=
|p21=  control: [[Control]]
|p22=  [column, reversed]: [[Array]]|PARAMETER22=
|p22=  [column, reversed]: [[Array]]
|p23=  column: [[Number]] |PARAMETER23=
|p23=  column: [[Number]]
|p24=  reversed (Optional): [[Boolean]] - [[false]]: descending / [[true]]: ascending. Default: [[false]] |PARAMETER24=
|p24=  reversed (Optional): [[Boolean]] - [[false]]: descending / [[true]]: ascending. Default: [[false]]


|r2= [[Nothing]]
|r2= [[Nothing]]

Revision as of 18:10, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - ListNBox

Syntax

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

Alternative Syntax

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

Examples

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

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