lbSortByValue: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters") |
Lou Montana (talk | contribs) m (Text replacement - "\<dt class\=\"note\"\>\'\'\'\[\[(.*)\]\]\'\'\'" to "<dt class="note">$1") |
||
Line 33: | Line 33: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">January 1st, 2011 - 22:54 | <dd class="notedate">January 1st, 2011 - 22:54 | ||
<dt class="note"> | <dt class="note">[[User:roehre|Roehre]] | ||
<dd class="note"> | <dd class="note"> | ||
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. | 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. |
Revision as of 15:21, 17 May 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:
- Uncategorised
Syntax
Alternative Syntax
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