TdxDockingManager.OnCreateTabContainer Event
This event fires in response to tab container creation.
Declaration
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. However, if you only need to change the default values of tab containers’ properties, you should use the DefaultTabContainerSiteProperties property instead. The event should be handled if you need to perform conditional initialization or simply need to respond to the tab container’s creation.