Description
Returns Array of selected rows indices in the given listbox. If listbox is of style LB_MULTI (multi-selection) the array will contain multiple elements, otherwise only a single element. For single selection listbox one can also use lbCurSel. See also lbIsSelected, lbSetSelected
Syntax
lbSelection control
Parameters:
control: Control
Examples
Example 1
_indices = lbSelection _control;
See also
lbAdd · lbClear · lbColor · lbCurSel · lbData · lbDelete · lbIsSelected · lbPicture · lbSetColor · lbSetCurSel · lbSetData · lbSetPicture · lbSetSelected · lbSetTooltip · lbSetValue · lbSize · lbSort · lbSortByValue · lbText · lbValue