lbSortByValue: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">")
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \| *s2 *=" to "|r1=$1 |s2=")
Line 13: Line 13:
|p1= control: [[Control]]
|p1= control: [[Control]]


| [[Nothing]]
|r1= [[Nothing]]


|s2= '''lbSortByValue''' idc {{Since|arma3|1.67|y}}
|s2= '''lbSortByValue''' idc {{Since|arma3|1.67|y}}

Revision as of 15:33, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - ListBox

Syntax

Syntax:
Syntax needed
Parameters:
control: Control
Return Value:
Nothing

Alternative Syntax

Syntax:
lbSortByValue idc Template:Since
Parameters:
idc: Number
Return Value:
Nothing

Examples

Example 1:
lbSortByValue _control;
Example 2:
lbSortByValue 101;

Additional Information

See also:
lbSortBylnbSortBylbSortlnbSorttvSorttvSortByValuelnbSortByValuelbAddlbClearlbColorlbCurSellbDatalbDeletelbIsSelectedlbPicturelbSelectionlbSetColorlbSetCurSellbSetDatalbSetPicturelbSetSelectedlbSetTooltiplbSetValuelbSizelbSortlbTextlbValue

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
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