Skip to content

Auto_Top_Item_State - Cm_Menu

Determines if the current_item is set to the top_item when the object takes the focus

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

Syntax

Property Boolean Auto_Top_Item_State
Access Type Syntax
Read Access: Get Auto_Top_Item_State to BooleanVariable
Write Access: Set Auto_Top_Item_State to BooleanVariable/Value

Description

By default, when a menu class object takes the focus, it will set the Current_Item to the Top_Item of the menu. This action is controlled by the state of the Auto_Top_Item_State property. If the state is set to false, the Current_Item will not be reset by the system.

Set Auto_Top_Item_State to False

Default is True.

When in the EntryList class, default is false.