[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBGrids' (#lcl)

TCustomDBGrid.OptionsExtra

Contains the extra options enabled for the grid control

Declaration

Source position: dbgrids.pas line 522

protected property TCustomDBGrid.OptionsExtra : TDbGridExtraOptions
  read FExtraOptions
  write SetExtraOptions
  default [dgeAutoColumns, dgeCheckboxColumn];

Description

OptionsExtra is a TDBGridExtraOptions property used to store extra options enabled for the grid control. OptionsExtra is a set data type which can contain 0 (zero) or more values from the TDBGridExtraOption enumeration. The default values in the property include dgeAutoColumns and dgeCheckboxColumn; these values enable the use of automatic columns for the linked dataset and displaying checkboxes for Boolean columns.

SetExtraOptions is the write access specifier for the property, and ensures that the grid control is updated to reflect values added to or removed from the set.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.