Sign in Join
FPDoc Onlineexperiment

TBevel.Style property

Member of TBevelpublishedIn unit ExtCtrls

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

Declaration

pascal
property 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

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