Vcl.ToolWin.TToolDockForm.DoAddDockClient

From RAD Studio API Documentation
Jump to: navigation, search

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.ToolWin.pas
Vcl.ToolWin.hpp
Vcl.ToolWin TToolDockForm

Description

Performs actions when a control is docked to the form.

DoAddDockClient sets the client's Align property to alNone and its BoundsRect property to ClientRect. Then DoAddDockClient calls the inherited DoAddDockClient method and sets the form's AutoSize property to true.