Vcl.Controls.IDockManager.GetControlBounds

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GetControlBounds(Control: TControl; out CtlBounds: TRect);

C++

virtual void __fastcall GetControlBounds(TControl* Control, /* out */ System::Types::TRect &CtlBounds) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls IDockManager

Description

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

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).

See Also