RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDecisionPivot.AdjustClientRect Method

Adjusts the ClientRect property for the idiosyncrasies of the window.

Pascal
procedure AdjustClientRect(var Rect: TRect); override;
C++
virtual __fastcall AdjustClientRect(TRect Rect);

AdjustClientRect is called internally when the panel needs accurate information on where to place child controls within the client area. AdjustClientRect reduces ClientRect by the width of the inner and outer bevels so that child objects are not placed on the beveled region. 

 

ClientRect 

Controls

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!