Vcl.Forms.TCustomDockForm.DoAddDockClient
Delphi
procedure DoAddDockClient(Client: TControl; const ARect: TRect); override;
C++
DYNAMIC void __fastcall DoAddDockClient(Vcl::Controls::TControl* Client, const System::Types::TRect &ARect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomDockForm |
Description
Performs actions when a control is docked to the dock form.
Client is the control being docked on the dock form.
ARect is the area in which Client is being docked.
DoAddDockClient sets the dock form's caption to the client's caption, if it is the first client. Then DoAddDockClient sets the Align property of the client to alClient and calls the inherited DoAddDockClient method.