Skip to main content

TdxDockingManager.OnActiveDockControlChanged Event

Fires when the active dock control is changed.

Declaration

property OnActiveDockControlChanged: TNotifyEvent read; write;

Remarks

When clicking anywhere within a dock control, the dock control becomes active. You can also set the active dock control via code either calling the desired control’s Activate method or by assigning the control to the docking controller’s ActiveDockControl property. Please refer to the descriptions of these members for information on active dock controls.

The OnActiveDockControlChanged event fires immediately after the active dock control has been changed. Handle this event if you need to perform actions in response to activating dock controls. For instance, you can focus a specific control within the active dock control or display explanatory information about the activated control.

The Sender parameter of the event identifies the docking manager.

See Also