Sign in Join
FPDoc Onlineexperiment

TToolBar.AdjustClientRect procedure

Member of TToolBarprotectedIn unit ComCtrls

Adjusts the client rectangle when the tool bar is drawn.

Declaration

pascal
procedure AdjustClientRect(var ARect: TRect); override

Arguments

ARect

Rectangle with the client display area.

Description

AdjustClientRect is an overridden method in TToolBar used to adjust the display area in ARect for the tool bar when the control is drawn.

It calls the inherited method on entry to shrink ARect when values have been specified in the EdgeBorders, EdgeInner, and EdgeOuter properties. It also increases the left coordinate for the rectangle by the value specified in the Indent property.

AdjustClientRect is called from the AlignControls and WrapButtons methods.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.