TdxBarManager.ShowCloseButton Property
In This Article
Specifies whether the Close button is displayed on the current bar manager’s main menu.
#Declaration
Delphi
property ShowCloseButton: Boolean read; write; default False;
#Property Value
Type | Default |
---|---|
Boolean | False |
#Remarks
By default a toolbar that represents a main menu doesn’t have a Close button. Set the ShowCloseButton property to True to include the Close button. The OnCloseButtonClick event is fired when an end-user clicks this button. Use the Close button to close a child form if it has no title.
Note
For docked toolbars the Close button is available only if the toolbar’s Is
See Also