Show: Delphi C++
Display Preferences

Vcl.Controls.TWinControl.GetClientRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetClientRect: TRect; override;

C++

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

Properties

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

Description

Returns the value of the ClientRect property.

GetClientRect is the protected implementation of the ClientRect property. GetClientRect returns a rectangle with the rectangle's Top and Left fields set to zero, and its Bottom and Right fields set to the control's ClientHeight and ClientWidth, respectively.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance