Skip to main content

TdxCustomDockControl.OnCreateFloatSite Event

Fires in response to float site creation.

Declaration

property OnCreateFloatSite: TdxCreateFloatSiteEvent read; write;

Remarks

When changing the state of a dock control to floating, its underlying float site is created. This float site fills the complete client area of the float form in order to accommodate the dock control. This is required since dock controls such as panels, tab containers and side containers cannot reside directly on forms.

The OnCreateFloatSite event fires each time the underlying float site is created for the dock control. You can handle this event to perform custom initialization of the newly created float site.

The Sender parameter of the event identifies the dock control whose underlying float site is created. The AFloatSite parameter returns the created float site.

Note

dock controls can be made to float by performing docking operations on them or by calling their MakeFloating method.

See Also