Vcl.Forms.TCustomForm.Dock
Delphi
procedure Dock(NewDockSite: TWinControl; ARect: TRect); override;
C++
DYNAMIC void __fastcall Dock(Vcl::Controls::TWinControl* NewDockSite, const System::Types::TRect &ARect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Handles automatic docking of the form into other windows.
Do not call Dock in application code. It is called automatically when the form is released on a docking site that will accept it. To dock a form programmatically, use the ManualDock method instead.