Sign in Join
FPDoc Onlineexperiment

TCustomControlBar.DrawingStyle property

Member of TCustomControlBarpublicIn unit ExtCtrls

Fill style used for bands on the control bar.

Declaration

pascal
property DrawingStyle: TBandDrawingStyle read FDrawingStyle write SetDrawingStyle default dsNormal;

Description

DrawingStyle is a TBandDrawingStyle property which indicates the fill style applied to the control bar. The default value for the property is dsNormal and causes the default background color for the control bar to be used.

Set DrawingStyle to dsGradient to draw the control bar using a gradient fill defined by the values in GradientDirection, GradientStartColor, and GradientEndColor. When clDefault is used in GradientStartColor, it is converted to clForm when the Paint method is called to draw the control. When clDefault is used in GradientEndColor, it is converted to cl3DHighlight in the Paint method.

See also

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