Vcl.DBCtrls.TDBLookupListBox.NullValueKey

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property NullValueKey: TShortCut read FNullValueKey write FNullValueKey default 0;

C++

__property NullValueKey = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBLookupListBox

Description

Specifies the key combination that assigns a blank value to the associated field.

Vcl.DBCtrls.TDBLookupListBox.NullValueKey inherits from Vcl.DBCtrls.TDBLookupControl.NullValueKey. All content below this line refers to Vcl.DBCtrls.TDBLookupControl.NullValueKey.

Specifies the key combination that assigns a blank value to the associated field.

Set NullValueKey to let users enter a "blank" value into the associated field. When the user types the key combination that this shortcut represents, the associated field is cleared.

Tip: Use the ShortCut function or the TextToShortCut function to create a value to assign to NullValueKey.

See Also