Sign in Join
FPDoc Onlineexperiment

TCustomGrid.BorderStyle property

Member of TCustomGridprotectedIn unit Grids

Drawing style used for the borders on the control.

Declaration

pascal
property BorderStyle: TBorderStyle read FGridBorderStyle write SetBorderStyle default bsSingle;

Description

BorderStyle is a TBorderStyle property with the drawing style used for the borders around the control. BorderStyle uses a restricted range of values found in TFormBorderStyle: a single border (bsSingle) or none (bsNone). Changing the property value causes UpdateBorderStyle to be called.

Use EditorBorderStyle to set the border drawing style for cell Editor controls on the grid.

BorderStyle is used in the ancestor class to determine the creation parameters passed to the widgetset class instance.

See also

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