Vcl.ComCtrls.TCustomTabControl.AdjustClientRect
Delphi
procedure AdjustClientRect(var Rect: TRect); override;
C++
virtual void __fastcall AdjustClientRect(System::Types::TRect &Rect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTabControl |
Description
Calculates the control's display area given a rectangle.
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.