Sign in Join
FPDoc Onlineexperiment

TCustomGrid.BorderColor property

Member of TCustomGridprotectedIn unit Grids

The color used for the border on the control.

Declaration

pascal
property BorderColor: TColor read FBorderColor write SetBorderColor default cl3DDKShadow;

Description

BorderColor is a TColor property with color used when drawing the borders around the grid control. The default value for the property is cl3DDKShadow. Changing the value for the property causes the control to be redrawn when BorderStyle is bsSingle.

BorderColor is used in the DrawBorder method to set the Pen color in Canvas prior to drawing the borders on the control.

See also

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