lbSortByValue: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "</dt>" to "") |
m (Text replace - "</dd>" to "") |
||
Line 30: | Line 30: | ||
<!-- 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">'''[[User:roehre|Roehre]]''' | <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. | ||
<!-- Note Section END --> | <!-- Note Section END --> |
Revision as of 13:35, 21 October 2011
Description
- Description:
- Sorts the Listbox Entries by their assigned Values. The Entries getting listed by their Negativity (most negative Value on Top). Also note that this Command will mix up the Entries randomly if multiple Entries have the same Value.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
lbSortByValue _control
Additional Information
- See also:
- lbSetValuelbValuelbSort
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.