Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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

See Also