RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTabControl.AdjustClientRect Method

Calculates the control's display area given a rectangle.

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

AdjustClientRect is called internally when the tab control needs accurate information on where to place child controls within the client area. As implemented in TCustomTabControl, returns the DisplayRect property as the Rect parameter. 

 

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