Show: Delphi C++
Display Preferences

Vcl.Controls.TWinControl.GetControlExtents

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetControlExtents: TRect; virtual;

C++

virtual System::Types::TRect __fastcall GetControlExtents();

Properties

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

Description

Returns the smallest rectangle in which all the control's children fit.

Call GetControlExtents to determine the smallest rectangle in which all the control's children fit. Windowed controls call GetControlExtents when implementing the AutoSize property.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance