lnbSort: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ |arma 3|= Game name |1.08|= Game version |arg= local |= Ar...") |
Killzone Kid (talk | contribs) (format) |
||
Line 14: | Line 14: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''lnbSort''' [idc,column, | | '''lnbSort''' [idc, column, reversed]|= Syntax | ||
|p1= [idc, column, reversed]: [[Array]]|= | |||
| | |p2= idc: [[Number]] |= Parameter 1 | ||
| | |p3= column: [[Number]] |= Parameter 2 | ||
| | |p4= reversed (Optional): [[Boolean]] - [[false]]: descending / [[true]]: ascending. Default: [[false]] |= Parameter 3 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|s2= | |s2= control '''lnbSort''' [column, reversed] |= Syntax | ||
|p21= | |p21= control: [[Control]]|= Parameter 21 | ||
|p21= [column, reversed]: [[Array]]|= Parameter 21 | |||
|p22= column: [[Number]] |= Parameter 22 | |p22= column: [[Number]] |= Parameter 22 | ||
|p23= | |p23= reversed (Optional): [[Boolean]] - [[false]]: descending / [[true]]: ascending. Default: [[false]] |= Parameter 23 | ||
|r2= [[Nothing]] |= Return value | |r2= [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code> | |x1= <code>[[lnbSort]] [1800, 1, [[false]]];</code>|= Example 1 | ||
|x2= <code> | |x2= <code>_ctl [[lnbSort]] [1, [[true]]]</code>|= Example 2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbIsSelected]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetTooltip]], [[lbSetValue]], [[lbSize]], [[lbSortByValue]], [[lbText]], [[lbValue]] |= See also | | [[lbSort]], [[lnbSortByValue]], [[tvSortByValue]], [[lbSortByValue]], [[tvSort]], [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbIsSelected]], [[lbPicture]], [[lbSelection]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetTooltip]], [[lbSetValue]], [[lbSize]], [[lbSortByValue]], [[lbText]], [[lbValue]] |= See also | ||
}} | }} |
Revision as of 13:07, 27 January 2017
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
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
Categories:
- Scripting Commands
- Introduced with Arma 3 version 1.08
- Arma 3: New Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands ArmA
- Command Group: GUI Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters