Skip to main content

TdxBarManager.OnCloseButtonClick Event

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

Declaration

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