Vcl.StdCtrls.TCustomGroupBox.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.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomGroupBox |
Description
Adjusts the ClientRect property for idiosyncrasies of the window.
AdjustClientRect is called internally when the group box needs accurate information on where to place child controls within the client area. It indents the client rectangle slightly so that child controls are not placed on the frame (or caption) of the group box.