TCustomGrid.EditorBorderStyle property
The border style for the Editor control.
Declaration
property EditorBorderStyle: TBorderStyle read GetEditorBorderStyle write SetEditorBorderStyle;Description
EditorBorderStyle is a
name property which contains the
border style used for the Editor in the grid control. The value for the
property depends on the editor style used for the cell in the grid.
When TStringCellEditor, TCompositeCellEditor, or TPickListCellEditor are used for the cell, the property value is read from the BorderStyle in the editor control. For all other editors (TButtonCellEditor), the value bsSingle is returned as the property value.
Setting a new value for the property causes the BorderStyle for the Editor to be updated, and the EditorPos method is called to recalculate the editor bounds and position.
Setting the property to bsSingle forces a border to be drawn inside the cell rectangle where the control is located. For some widgetsets, the border is drawn using theme services to maintain a uniform appearance for the platform.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
