RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDockTree.GetControlBounds Method

Returns the dimensions allotted to a control that is already docked.

Pascal
procedure GetControlBounds(Control: TControl; out CtlBounds: TRect);
C++
__fastcall GetControlBounds(TControl * Control, TRect CtlBounds);

GetControlBounds returns the dimensions of the zone in which a control is currently docked. 

Control is the currently docked control. 

CtlBounds returns the dimensions of the zone in which control is docked. If Control does not specify an object that is currently docked in the associated dock site, CtlBounds returns (0,0,0,0). 

 

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