RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinControl.GetClientRect Method

Returns the value of the ClientRect property.

Pascal
function GetClientRect: TRect; override;
C++
virtual __fastcall TRect GetClientRect();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!