Vcl.ExtCtrls.TCustomPanel.AdjustClientRect

From RAD Studio API Documentation
Jump to: navigation, search

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.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TCustomPanel

Description

Adjusts the ClientRect property for the idiosyncrasies of the window.

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.

See Also