Vcl.DBCtrls.TDBLookupControl.NullValueKey

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property NullValueKey: TShortCut read FNullValueKey write FNullValueKey default 0;

C++

__property System::Classes::TShortCut NullValueKey = {read=FNullValueKey, write=FNullValueKey, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBLookupControl

Description

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