lbSortByValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (local link)
Line 39: Line 39:
<dd class="notedate">Posted: Sep 10 2014</dd>
<dd class="notedate">Posted: Sep 10 2014</dd>
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>
<dd class="note">More information on the LB command family can be found [https://community.bistudio.com/wiki/List_Box here]
<dd class="note">More information on the LB command family can be found [[List_Box|here]]
</code>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 05:37, 5 December 2014

-wrong parameter ("Arma") defined!-1.08
Hover & click on the images for description

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

Syntax:
lbSortByValue control
Parameters:
control: Given Control
Return Value:
Nothing

Examples

Example 1:
lbSortByValue _control;

Additional Information

See also:
lbAddlbClearlbColorlbCurSellbDatalbDeletelbIsSelectedlbPicturelbSelectionlbSetColorlbSetCurSellbSetDatalbSetPicturelbSetSelectedlbSetTooltiplbSetValuelbSizelbSortlbTextlbValue

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

Bottom Section