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.OnCloseButtonClick Event

In This Article

Occurs when a toolbar that represents a main menu is being closed.

#Declaration

Delphi
property OnCloseButtonClick: TNotifyEvent read; write;

#Remarks

Handle the OnCloseButtonClick event to perform specific actions when the Close button on a toolbar, which represents a main menu, is clicked. The Sender parameter specifies the current bar manager.

This event is fired by the DoCloseButtonClick method.

If a floating toolbar doesn’t represent a main menu handle the OnBarClose event instead.

See Also