RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDockForm.DoAddDockClient Method

Performs actions when a control is docked to the dock form.

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

Client is the control being docked on the dock form. 

ARect is the area in which Client is being docked. 

DoAddDockClient sets the dock form's caption to the client's caption, if it is the first client. Then DoAddDockClient sets the Align property of the client to alClient and calls the inherited DoAddDockClient method. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!