Sign in Join
FPDoc Onlineexperiment

TCustomControlBar.CalcInnerBevelWidth function

Member of TCustomControlBarprotectedIn unit ExtCtrls

Calculates the cumulative width for all borders and bevels used on the control bar.

Declaration

pascal
function CalcInnerBevelWidth: Integer

Function result

Number of pixels needed for the bevels and borders on the control bar.

Description

Uses values in the BevelInner, BevelOuter, BevelWidth, and BorderWidth properties to calculate the return value.

Called from the CalculatePreferredSize, CMBorderChanged, and Paint methods.

See also

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