Sign in Join
FPDoc Onlineexperiment

TCustomDockForm.GetSiteInfo procedure

Member of TCustomDockFormprotectedIn unit Forms

Disallows docking of a second client.

Declaration

pascal
procedure GetSiteInfo(Client: TControl; var InfluenceRect: TRect; 
 MousePos: TPoint; var CanDock: Boolean); override

Arguments

Client

Not used in the method.

InfluenceRect

Not used in the method.

MousePos

Not used in the method.

CanDock

Returns True when no other docked clients exist on the form instance.

Description

GetSiteInfo is an overridden method in TCustomDockForm. It reimplements the method introduced in the ancestor class (TWinControl). The value in the CanDock argument is set to True when there are no other docked clients on the docking form instance. Values in the Client, InfluenceRect, and MousePos arguments are not used in the method.

GetSiteInfo does not call the inherited method.

See also

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