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

TdxCustomDockControl.OnCreateTabContainer Event

In This Article

Fires in response to tab container creation.

#Declaration

Delphi
property OnCreateTabContainer: TdxCreateTabContainerEvent read; write;

#Remarks

When a dock control is docked to fill the client area of another control, a tab container is created. The OnCreateTabContainer event is raised immediately after this has been done. The Sender parameter identifies the control to which another control has been docked. The ATabContainer parameter represents the tab container created. You can use the Children property of the tab container to access all of its children.

Handle the OnCreateTabContainer event if you need to perform particular initialization when creating tab containers. Note that the event fires for the control to which another control has been docked. If the current dock control has been docked to another control to create a tab container, the target control’s OnCreateTabContainer event is raised.

See Also