Vcl.Controls.TControl.DoDock
Delphi
procedure DoDock(NewDockSite: TWinControl; var ARect: TRect); dynamic;
C++
DYNAMIC void __fastcall DoDock(TWinControl* NewDockSite, System::Types::TRect &ARect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TControl |
Description
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.