TKeyOptions and TKeyOption indicate the response of a value list editor to certain keystrokes.
TKeyOptions = set of TKeyOption;
TKeyOption TKeyOptions;
TKeyOptions is a set of TKeyOption values. The possible values of TKeyOption are listed in the following table.
Option |
Meaning |
keyEdit |
The user can select and edit values in the first (key) column. That is, the user can specify the name in a name/value pair. |
keyAdd |
The user can add new name/value pairs. When included, the user can create new entries by pressing the Insert key or using the down arrow key when positioned on the last name/value pair. keyAdd requires that keyEdit is also included. |
keyDelete |
The user can delete the selected name/value pair by pressing the Delete key. |
keyUnique |
The user cannot create name/value pairs where the name portion is the same as the name in another name/value pair. Attempting to add a duplicate name causes the value list editor to raise an exception. keyUnique requires that keyEdit is also included. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|