Edit

Share via


OlMultiSelect Enum

Definition

Specifies the type of selection that is supported in a list box control.

public enum class OlMultiSelect
[System.Runtime.InteropServices.Guid("5A0FB768-AAF4-4E8C-9C57-89ACA8B6249F")]
public enum OlMultiSelect
Public Enum OlMultiSelect
Inheritance
OlMultiSelect
Attributes

Fields

Name Value Description
olMultiSelectSingle 0

Supports selection of only one item at a time.

olMultiSelectMulti 1

Supports selection of one or more items at a time. Pressing SPACEBAR or clicking the mouse toggles the selection of an item in the list.

olMultiSelectExtended 2

Supports SHIFT and CTRL to select one or more items at a time. Pressing SHIFT and clicking the mouse, or pressing SHIFT and one of the arrow keys, extends the selection from the previously selected item to the current item. Pressing CTRL and clicking the mouse toggles the selection of an item.

Applies to