lbSelection: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (locality is not aplicable) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns [[Array]] of selected rows indices in the given listbox of style LB_MULTI (multi-selection). For single selection listbox use [[lbCurSel]] instead.|= | | Returns [[Array]] of selected rows indices in the given listbox of style LB_MULTI (multi-selection). For single selection listbox use [[lbCurSel]] instead.|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|'''lbSelection''' control |= | |'''lbSelection''' control |SYNTAX= | ||
|p1= control: [[Control]] |= | |p1= control: [[Control]] |PARAMETER1= | ||
| [[Array]] |= | | [[Array]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_indices = [[lbSelection]] _control;</code> |= | |x1= <code>_indices = [[lbSelection]] _control;</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbIsSelected]], [[lbPicture]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetTooltip]], [[lbSetValue]], [[lbSize]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]] |= | | [[lbAdd]], [[lbClear]], [[lbColor]], [[lbCurSel]], [[lbData]], [[lbDelete]], [[lbIsSelected]], [[lbPicture]], [[lbSetColor]], [[lbSetCurSel]], [[lbSetData]], [[lbSetPicture]], [[lbSetSelected]], [[lbSetTooltip]], [[lbSetValue]], [[lbSize]], [[lbSort]], [[lbSortByValue]], [[lbText]], [[lbValue]] |SEEALSO= | ||
}} | }} |
Revision as of 14:42, 7 April 2019
Description
- Description:
- Returns Array of selected rows indices in the given listbox of style LB_MULTI (multi-selection). For single selection listbox use lbCurSel instead.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_indices = lbSelection _control;
Additional Information
- See also:
- lbAddlbClearlbColorlbCurSellbDatalbDeletelbIsSelectedlbPicturelbSetColorlbSetCurSellbSetDatalbSetPicturelbSetSelectedlbSetTooltiplbSetValuelbSizelbSortlbSortByValuelbTextlbValue
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
Bottom Section
- Posted on April 10, 2016 - 16:50 (UTC)
- Larrow
- This command works fine with listboxs of style LB_MULTI and should not be marked as obsolete as lbCurSel does not provide the same functionality.