Show: Delphi C++
Display Preferences

Vcl.Controls.TWinControl.DoAddDockClient

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

DYNAMIC void __fastcall DoAddDockClient(TControl* Client, const System::Types::TRect &ARect);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls 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
In Other Languages
Previous Versions
Assistance