Skip to main content

TdxDockSite.OnHideControl Event

Fires when an auto hide enabled dock control gets hidden.

Declaration

property OnHideControl: TdxAutoHideControlEvent read; write;

Remarks

Dock controls with their auto hide feature enabled are automatically hidden when the mouse pointer is not over them or their referencing label, provided that the control is not active. The control can also be hidden by assigning nil to the ShowingControl property. In either case, the OnHideControl event is raised.

Handle OnHideControl to provide a proper response to hiding an auto hide enabled dock control. For instance, if you handle the OnShowControl event, you can use the OnHideControl event to perform any necessary cleanup.

The Sender parameter of the OnHideControl event identifies the controlling dock. The AControl parameter specifies the hidden control.

See Also