lbSortByValue: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|gr1= GUI Control |GROUP1= |gr1= GUI Control |=GROUP1" to "|gr1= GUI Control |GROUP1=") |
Lou Montana (talk | contribs) m (Text replacement - " \| ?r2=(.*)\|RETURNVALUE= *" to " |r2=(.*)|RETURNVALUE2=") |
||
Line 19: | Line 19: | ||
|p21= idc: [[Number]] |PARAMETER1= | |p21= idc: [[Number]] |PARAMETER1= | ||
| r2= | |r2=(.*)|RETURNVALUE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 19:40, 24 September 2020
Description
- Description:
- Sorts the ListBox entries by lbValue. The entries are sorted in ascending order. Also note that this command will mix up the entries randomly if multiple entries have the same value.
- Groups:
- GUI Control
Syntax
Alternative Syntax
- Syntax:
- lbSortByValue idc (since Arma 3 v1.67)
- Parameters:
- idc: Number
- Return Value:
- (.*)
Examples
- Example 1:
lbSortByValue _control;
- Example 2:
lbSortByValue 101;
Additional Information
- See also:
- lbSortlnbSorttvSorttvSortByValuelnbSortByValuelbAddlbClearlbColorlbCurSellbDatalbDeletelbIsSelectedlbPicturelbSelectionlbSetColorlbSetCurSellbSetDatalbSetPicturelbSetSelectedlbSetTooltiplbSetValuelbSizelbSortlbTextlbValue
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
- January 1st, 2011 - 22:54
- Roehre
- A good way to avoid that this Command will mix your Listbox up is, to assign your Value summed up with the Index ID returned by lbAdd to your Listbox Entries.
- Posted: Sep 10 2014
- ffur2007slx2_5
- More information on the LB command family can be found here