Controls.TWinControl.DoAddDockClient

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Controls.pas

	procedure DoAddDockClient(Client: TControl; const ARect: TRect); dynamic;


Unit: Controls

Type: method

Visibility: protected

Member Of: TWinControl

C++ Information

From Controls.hpp

	dynamic virtual void __fastcall DoAddDockClient(Controls::TControl * Client, const Types::TRect & ARect);


Unit: Controls

Type: method

Visibility: protected

Member Of: TWinControl

Description

Performs actions when a control is docked to the windowed control.


DoAddDockClient is called automatically when a client control is docked to the windowed control. As implemented in TWinControl, DoAddDockClient sets the client's Parent property to the control.

Client is the control that has been docked.

ARect describes the boundaries of the region where Client has been docked.

Override DoAddDockClient to perform actions when a control is docked to the windowed control.

Note:  DoAddDockClient is called in response to a message sent by the DockDrop method, before the OnDockDrop event.

See Also

Personal tools
Translations
Newest Version