Vcl.Forms.TCustomForm.GetClientRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetClientRect: TRect; override;

C++

virtual Winapi::Windows::TRect __fastcall GetClientRect();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomForm

Description

Returns the value of the ClientRect property.

GetClientRect is the protected access function for the ClientRect property. It returns the dimensions of the form window, indented by any scroll bars and menus.

Override this method to change the way the client area of the form is defined.

See Also

Code Examples