Sign in Join
FPDoc Onlineexperiment

TValueListEditor.Options property

Member of TValueListEditorpublishedIn unit ValEdit

Specifies the options enabled for the Key-Value grid.

Declaration

pascal
property Options: TGridOptions read GetOptions write SetOptions default [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goColSizing, goEditing, goAlwaysShowEditor, goThumbTracking];

Description

Options is a TGridOptions property used to specify the options enabled for the two-column grid displayed in the control. Options is a set type that can contain 0 (zero) or more TGridOption values. By default, the property includes the following enumeration values:

  • goFixedVertLine
  • goFixedHorzLine
  • goVertLine
  • goHorzLine
  • goColSizing
  • goEditing
  • goAlwaysShowEditor
  • goThumbTracking

See TGridOption for more information about values and meanings in the enumeration.

Changing the value in Options causes additional validation to be performed:

  • goColMoving is always excluded from the property value; column moving is not a valid operation in TValueListEditor.
  • goAutoAddRowsSkipContentCheck is also excluded from the property.
  • If the internal UpdatingKeyOptions flag has not been set, and component streaming has completed, the KeyOptions property is updated to include goAutoAddRows.

See also

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