Skip to main content

TdxFloatForm Class

Represents the form holding floating dock controls.

Declaration

TdxFloatForm = class(
    TdxCustomFloatForm
)

Remarks

When a dock control is made to float, an underlying float site is created for it. Also, a form holding that float site is created. TdxFloatForm objects represent such forms.

The TdxFloatForm class overrides the default form behavior for two purposes:

  • To change the initial appearance of floating forms.

  • To change the way the form behaves when dragging it. The form is not moved but, instead, a frame indicating its potential position is painted.

Also, the TdxFloatForm class implements float site management. For instance, it closes the site when the form is closed. Additionally, it updates the site when either the position or size of the float form has been changed.

See Also