Skip to main content
A newer version of this page is available. .

TdxFloatDockSite Class

Represents a float site.

Declaration

TdxFloatDockSite = class(
    TdxCustomDockSite
)

Remarks

When a dock control is made to float, an underlying float site is created for it. The float site occupies the entire client area of the parent float form. The dock control, in turn, occupies the entire client area of the underlying float site. Unlike a dock site, the float site doesn’t allow docking of controls to its edges and doesn’t provide an auto hiding facility. Controls can only be docked to the child control of the float site thus forming either a tab container or a side container. The container created becomes the float site’s child and then occupies its entire area.

You can access the child of the float site using the Child property. The OnSetFloatFormCaption event enables you to assign a caption to the float form where the site resides.

Note that the float site is destroyed each time its child is docked to a dock site. If the dock site is made to float again, a new float site is created.

See Also