TdxBar.IsMainMenu Property
Determines whether the current toolbar is the main menu.
Declaration
property IsMainMenu: Boolean read; write; default False;
Property Value
Type | Default |
---|---|
Boolean | False |
Remarks
If the IsMainMenu property returns True, the current toolbar performs the role of a main menu. In this instance, the bar manager’s MainMenuBar property refers to this toolbar and the bar manager’s MainMenuControl property refers to the current bar’s Control property. You can set the IsMainMenu property programmatically or within the customization form.
Note
Only one instance of the TdxBar class may have the IsMainMenu property set to True. The value of this property controls the behavior and visualization of the bar control as specified by the Control property.
See Also