RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolDockForm.DoAddDockClient Method

Performs actions when a control is docked to the form.

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

DoAddDockClient sets the client's Align property to alNone and its BoundsRect property to ClientRect. Then DoAddDockClient calls the inherited DoAddDockClient method and sets the form's AutoSize property to true. 

 

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