Sign in Join
FPDoc Onlineexperiment

TDBGrid.OptionsExtra property

Member of TDBGridpublishedIn unit DBGrids

Contains the extra options enabled for the database grid control.

Declaration

pascal
property OptionsExtra:;

Description

OptionsExtra is a TDBGridExtraOptions property used to store extra options enabled for the grid control. OptionsExtra is a set 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 check boxes in columns with Boolean values.

Changing the values in the OptionsExtra property causes the grid control to be updated to reflect the values added to or removed from the set. Adding or removing dgeCheckboxColumn causes the control to be redrawn. Adding or removing dgeAutoColumns causes automatic columns to be added to or removed from the grid as needed. See AddAutomaticColumns and RemoveAutomaticColumns for more information. The active cell and/or row is updated prior to exit by calling UpdateActive.

Use the Options and Options2 properties to control other features and behaviors enabled for the grid control.

This description is the one of DBGrids.TCustomDBGrid.OptionsExtra.

See also

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