Sign in Join
FPDoc Onlineexperiment

TControl.DoFloatMsg procedure

Member of TControlprotectedIn unit Controls

Handler called when the control starts floating.

Declaration

pascal
procedure DoFloatMsg(ADockSource: TDragDockObject); virtual

Description

Since TControls cannot float for themselves, a FloatHost site is created and the control is docked into it.

When the control already has a Parent (FloatHost site), the Parent's position and extent is adjusted to fit the DockRect as its ClientRect.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.