TValueListEditor.KeyOptions property
Controls actions that can be performed for Keys in the control.
Declaration
property 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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
