Vcl.Controls.TControl.Dock
Delphi
procedure Dock(NewDockSite: TWinControl; ARect: TRect); dynamic;
C++
DYNAMIC void __fastcall Dock(TWinControl* NewDockSite, const System::Types::TRect &ARect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TControl |
Description
Used internally to dock the control.
Do not call Dock in applications. It is called automatically to implement many of the details of docking the control to a dock site.
To dock the control programmatically, use ManualDock instead.
The NewDockSite parameter specifies the docking site to which the control is being docked. The ARect parameter indicates the new dimensions of the control when it is docked to NewDockSite.