TKeyOption and TKeyOptions indicate the response of a value list editor to certain keystrokes.
TKeyOption = ( keyEdit, keyAdd, keyDelete, keyUnique );
enum TKeyOption { keyEdit, keyAdd, keyDelete, keyUnique };
TKeyOption is a set of TKeyOptions values. The possible values of TKeyOptions are
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 can't 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!
|