Select_State - Cm_Menu
Each item may be selected by setting the select_state of the item
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Parameters
| Parameter | Type | Description |
|---|---|---|
| iItem | Integer |
Syntax
Property Boolean Select_State
| Access Type | Syntax |
|---|---|
| Read Access: | Get Select_State to BooleanVariable |
| Write Access: | Set Select_State to BooleanVariable/Value |
Description
Each item may be selected by setting the select_state of the item. The user sets this state by pressing the kspace key when on a menu which has its select_mode set to other than no_select. Shadowed items may not be selected. If the list is single_select, then only one item may be selected at a time. Select_Count is automatically updated by setting the select_state of an item. If the item is on the screen, the display will immediately reflect the change in state of the item.
integer iCurrent
get Current_Item to iCurrent
set Select_State of oChoices iCurrent to True
if (Select_State(Self, iCurrent)) send Process_Item
The value of this property may be inverted, regardless of its initial value, by setting it to toggle_state.
Default is false.