Unit 'DBGrids' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomDBGrid.OptionsExtra

Contains the extra options enabled for the database grid control.

Declaration

Source position: dbgrids.pas line 524

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 definitions from 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.

See also

TDBGridExtraOptions

  

TDbGridExtraOptions is a set of values from the TDbGridExtraOption enumeration.

TDBGridExtraOption

  

Enumerated type that specifies extra options available in a database grid.