Vcl.Controls.TDockTree.GetControlBounds

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TDockTree

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

See Also