TdxCustomDockControl.OnClose Event
Fires when the dock control is closed.
Declaration
property OnClose: TdxDockControlNotifyEvent read; write;
Remarks
Dock controls can be closed by calling their Close method. End-users can do this by clicking the close button within the control’s caption or by clicking the close button of the floating window. Please refer to the CaptionButtons property for details on caption buttons.
Whenever a dock control is closed the OnClose event is raised. Its Sender parameter identifies the closed control.
Note that the OnClose event is actually raised before the control is closed. Thus, even when the doUndockOnClose or doFreeOnClose options are enabled, the control isn’t undocked or destroyed until after the event handler has been executed. These options are available via the Options property of the docking manager.
See Also