RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDockManager.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 container control that uses this dock manager, CtlBounds returns (0,0,0,0). 

 

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