Sign in Join
FPDoc Onlineexperiment

TControl.Docked function

Member of TControlpublicIn unit Controls

Indicates if the control has a host dock site.

Declaration

pascal
function Docked: Boolean

Function result

True if the Parent control is also the HostDockSite for the control.

Description

Docked is a Boolean function which indicates if the control instance is docked to a host docking site. The return value is True when all of the following conditions are met:

  • Parent is assigned (not Nil).
  • Parent has the same value as the HostDockSite property.
  • Parent has a parent form with a value different than the one in Parent.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.