TWinControl.DoUnDock function
Notifies an
OnUnDock handler and the
DockManager of an
undocked client control.
Declaration
function DoUnDock(NewTarget: TWinControl; Client: TControl;
KeepDockSiteSize: Boolean=True): Boolean; virtualArguments
NewTarget | The new docksite, Nil for floating. |
Client | The control being undocked. |
KeepDockSiteSize |
Function result
Set to False to deny undocking.
Description
The OnUnDock handler can deny the undocking request for the
control. This can cause problems; instead, the control better should not be
draggable.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
