[Overview][Types][Classes][Procedures and functions][Index] |
Calculates the cumulative width for all borders and bevels used on the control bar.
Source position: extctrls.pp line 1553
protected function TCustomControlBar.CalcInnerBevelWidth: Integer; |
Number of pixels needed for the bevels and borders on the control bar.
Uses values in the BevelInner, BevelOuter, BevelWidth, and BorderWidth properties to calculate the return value.
Called from the CalculatePreferredSize, CMBorderChanged, and Paint methods.
|
Calculates the preferred height and width used during auto-sizing. |
|
|
Handles the CM_BORDERCHANGED message. |
|
|
Draws the control with its image, decorations, and visible bands. |
|
|
BevelInner - determines the nature of the Inner Bevel of the panel (whether raised, lowered etc) |
|
|
BevelOuter - determines the nature of the Outer Bevel of the panel (whether raised, lowered etc) |
|
|
BevelWidth - the Width of the panel's bevel in pixels. |
|
|
Width of the Border around the control; default is zero. |