Show: Delphi
C++
Display Preferences
Vcl.Controls.TControl.DoDock
From XE2 API Documentation
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.