RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinControl.DoAddDockClient Method

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

Pascal
procedure DoAddDockClient(Client: TControl; const ARect: TRect); dynamic;
C++
__fastcall DoAddDockClient(TControl * Client, const TRect ARect);

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.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!