Vcl.DockTabSet.TDockTabSet.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.DockTabSet.pas
Vcl.DockTabSet.hpp
Vcl.DockTabSet TDockTabSet

Description

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

Vcl.DockTabSet.TDockTabSet.DoAddDockClient inherits from Vcl.Controls.TWinControl.DoAddDockClient. All content below this line refers to Vcl.Controls.TWinControl.DoAddDockClient.

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