ValEdit.TKeyOptions

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From ValEdit.pas

	TKeyOptions = set of TKeyOption;


Unit: ValEdit

Type: set

C++ Information

From ValEdit.hpp

	typedef System::Set<Valedit::TKeyOption,0,3> TKeyOptions;


Unit: ValEdit

Type: typedef

Description

TKeyOptions and TKeyOption indicate the response of a value list editor to certain keystrokes.


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.



See Also

Personal tools
Translations
Newest Version