[Overview][Types][Classes][Procedures and functions][Index] |
Adjusts the specified rectangle to account for borders and bevels used on the control.
Source position: extctrls.pp line 1144
protected procedure TCustomPanel.AdjustClientRect( |
var aRect: TRect |
); override; |
AdjustClientRect is an overridden procedure used to adjust the drawing rectangle in ARect to account for borders and bevels used on the panel. AdjustClientRect calls the inherited method, and calculates the number of pixels required for the settings in BorderWidth, BevelInner, and BevelOuter. AdjustClientRect calls InflateRect to adjust ARect by the calculated border and bevel widths.
AdjustClientRect is called when the control is autosize or aligned.
|
Determines the appearance of the Inner Bevel for the panel (whether raised, lowered, etc.). |
|
|
Determines the appearance of the Outer Bevel for the panel (whether raised, lowered, etc.). |
|
|
Width of the Border around the control; default is zero. |
|
|
Override this method when the ClientRect for a control differs from the default value. |
Version 4.0 | Generated 2025-05-03 | Home |