Back to Devexpress

TdxBarManager.ShowCloseButton Property

vcl-dxbar-dot-tdxbarmanager-d9dc13fe.md

latest1.1 KB
Original Source

TdxBarManager.ShowCloseButton Property

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

TypeDefault
BooleanFalse

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 IsMainMenu property is set to True.

See Also

TdxBar.IsMainMenu

TdxBarManager Class

TdxBarManager Members

dxBar Unit