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

TValueListEditor.KeyOptions

Controls actions that can be performed for Keys in the control.

Declaration

Source position: valedit.pas line 310

published property TValueListEditor.KeyOptions : TKeyOptions
  read FKeyOptions
  write SetKeyOptions
  default [];

Description

KeyOptions is a TKeyOptions property used to control actions that can be performed for keys in the control. KeyOptions is a set type, and can contain 0 (zero) or more values from the TKeyOption enumeration. The default value for the property is an empty set ([]).

Settings the values in KeyOptions causes the internal UpdatingKeyOptions flag to be set. Including the value KeyAdd in KeyOptions requires KeyEdit to be added as well. The Options property may also be updated to include or exclude the value goAutoAddRows based on use of KeyAdd in the property. The internal UpdatingKeyOptions flag is cleared prior to exiting from the method.

Values in KeyOptions are used in the GetDefaultEditor method to configure the cell editor for an item.

See also

TValueListEditor.Options

  

Specifies the options enabled for the Key-Value grid.

TValueListEditor.GetDefaultEditor

  

Gets the editor control for the specified column number.

TKeyOptions

  

Stores values from the TKeyOption enumeration.


Version 4.0 Generated 2025-05-03 Home