[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ExtCtrls' (#lcl)

TBevel.Style

Indicates whether the bevel is drawn using a raised or a lowered style.

Declaration

Source position: extctrls.pp line 693

published property TBevel.Style : TBevelStyle
  read FStyle
  write SetStyle
  default bsLowered;

Description

Style is a TBevelStyle property which indicates whether the bevel is drawn as a raised or a lowered area on the control surface. The default value for the property is bsLowered. Changing the value for the property causes the control to be redrawn.

Shape and Style are used in the Paint method to draw the control on its Canvas.

The relief in Style is achieved by drawing the opposite edges of the bevel Shape using contrasting colors. bsLowered uses cl3DHighlight and cl3DShadow for the color combination. bsRaised uses the same colors - but on the opposite edges.

See also

TBevelStyle

  

TBevelStyle is an enumerated type with bevel style values: lowered or raised.


Version 4.0 Generated 2025-05-03 Home