[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Adjusts the client rectangle when the tool bar is drawn.
Source position: comctrls.pp line 2314
protected procedure TToolBar.AdjustClientRect( |
var ARect: TRect |
); override; |
ARect |
|
Rectangle with the client display area. |
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.
|
Indicates which edges on the tool bar are drawn with a border. |
|
|
Specifies the drawing style used for the inner border of the control. |
|
|
Specifies the drawing style used for the outer border of the control. |
|
|
Number of pixels reserved as indentation spacing before buttons and controls on the tool bar. |
|
|
Performs actions to align the tool bar buttons in the specified rectangle. |
|
|
Adjusts tool button sizes and positions, and handles wrapping to new rows or columns. |
|
|
Override this method when the ClientRect for a control differs from the default value. |
Version 3.2 | Generated 2024-02-25 | Home |