TCustomForm.AdjustClientRect procedure
Excludes borders from the given rectangle.
Declaration
procedure AdjustClientRect(var Rect: TRect); overrideArguments
Rect | Client rectangle adjusted in the method. |
Description
AdjustClientRect is an overridden method in
TCustomForm
which re-implements the method from the ancestor class. It is used to
decrease the width and height for the client rectangle specified in
Rect by the number of pixels in the
BorderWidth
property. It is used in the
AlignControls method, and when
auto-sizing is performed for
Controls.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
