TToolBar.AdjustClientRect procedure
Adjusts the client rectangle when the tool bar is drawn.
Declaration
procedure AdjustClientRect(var ARect: TRect); overrideArguments
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.
