Skip to main content

TdxCustomDockControl.OnParentChanging Event

Fires before the parent of the dock control is changed.

Declaration

property OnParentChanging: TdxDockControlNotifyEvent read; write;

Remarks

The parent of the dock control is changed as a result of docking operations or toggling the auto hide feature for the control. As a result, the control’s handle changes. This may lead to a loss of settings for controls residing on the dock control. The OnParentChanging event enables you to save such settings. These settings can then be restored in the OnParentChanged event handler.

The Sender parameter identifies the control whose parent has been changed.

For detailed information on persisting control settings, please refer to the Persisting Settings of Controls Residing in Dock Panels topic.

See Also