Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxDockingManager.OnActiveDockControlChanged Event

In This Article

Fires when the active dock control is changed.

#Declaration

Delphi
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