Skip to content

Select_Mode - Cm_Menu

Determines how item-level selections are processed

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer Select_Mode
Access Type Syntax
Read Access: Get Select_Mode to IntegerVariable
Write Access: Set Select_Mode to IntegerVariable/Value

Description

Select_Mode is used to determine how item-level selections are processed.

Constant Meaning
No_Select This mode will disable the user-driven selection key, kspace
Single_Select Used when none or a single selection is allowed. As the user selects items in the menu, any item previously selected will be reset.
Auto_Select Similar to Single_Select, but the Current_Item is always selected
Multi_Select Allows the operator to select zero, one, or many items in the menu. The number of selected items is maintained by the select_count property.
set Select_Mode of oMultiMenu to Multi_Select

The default mode is No_Select. For List-type objects, the default mode is Single_Select.