API:Vcl.Forms.TCustomForm.DoDock
Delphi
procedure DoDock(NewDockSite: TWinControl; var ARect: TRect); override;
C++
DYNAMIC void __fastcall DoDock(Vcl::Controls::TWinControl* NewDockSite, System::Types::TRect &ARect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Docking event dispatcher.
Vcl.Forms.TCustomForm.DoDock inherits from Vcl.Controls.TControl.DoDock. All content below this line refers to Vcl.Controls.TControl.DoDock.
Docking event dispatcher.
DoDock is called automatically as part of the docking process. It updates the control's dimensions and causes it to repaint.
NewDockSite is the control's new dock site. This value can be nil (Delphi) or NULL (C++) or NullDockSite (a constant that indicates no dock site).
ARect specifies the control's new dimensions once it is docked to NewDockSite.