Skip to content

IsMDIMenu - cCJCommandBarSystem

Returns true if the command bar system is the main MDI menu system

Type: Function
Return Data Type: Boolean

Syntax

Function IsMDIMenu Returns Boolean

Call Example

Get IsMDIMenu to BooleanVariable

Description

IsMDIMenu returns true if the commandbar system is the main MDI menu system. When a cCJCommandBarSystem object is created it determines if it is being used as the main MDI menu system. It is considered to be the main MDI menu if the commandbar system's parent is a panel object (BasicPanel or a sub-class) and that panel's MDI_State is set to True.

Normally the main MDI menu system will be nested within a Panel object and will have only one visual sibling object, which will be based on ClientArea.

Return Value

True if this is main MDI menu system