lbSort: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \| *s2 *=" to "|r1=$1 |s2=") |
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
||
Line 35: | Line 35: | ||
|r4= [[Nothing]] | |r4= [[Nothing]] | ||
|x1= <code>[[lbSort]] _myControl;</code> | |x1= <code>[[lbSort]] _myControl;</code> | ||
|x2= <code>[[lbSort]] [_myControl, "DESC"];</code> | |x2= <code>[[lbSort]] [_myControl, "DESC"];</code> |
Revision as of 20:01, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- GUI Control - ListBox
Syntax 1
- Syntax:
- Syntax needed
- Parameters:
- control: Control
- Return Value:
- Nothing
Syntax 2
- Syntax:
- lbSort [control, sortOrder] Template:Since
- Parameters:
- control: Control
- sortOrder: String - "ASC": ascending, "DESC": descending
- Return Value:
- Nothing
Syntax 3
- Syntax:
- lbSort idc Template:Since
- Parameters:
- idc: Number
- Return Value:
- Nothing
Syntax 4
- Syntax:
- lbSort [idc, sortOrder] Template:Since
- Parameters:
- idc: Number
- sortOrder: String - "ASC": ascending, "DESC": descending
- Return Value:
- Nothing
Examples
- Example 1:
lbSort _myControl;
- Example 2:
lbSort [_myControl, "DESC"];
- Example 3:
lbSort 101;
- Example 4:
lbSort [101, "DESC"];
Additional Information
- See also:
- lbSortBylnbSortBylbSortByValuelnbSorttvSortlbSortByValuetvSortByValuelnbSortByValuelbAddlbClearlbColorlbCurSellbDatalbDeletelbIsSelectedlbPicturelbSelectionlbSetColorlbSetCurSellbSetDatalbSetPicturelbSetSelectedlbSetTooltiplbSetValuelbSizelbTextlbValue
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
- Posted: Sep 10 2014
- ffur2007slx2_5
- More information on the LB command family can be found on the List Box page.