Vcl.DBCtrls.TDBLookupComboBox.NullValueKey
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 | TDBLookupComboBox |
Description
Specifies the key combination that assigns a blank value to the associated field. {{#multireplace:Vcl.DBCtrls.TDBLookupComboBox.NullValueKey|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.DBCtrls.TDBLookupControl.NullValueKey|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.DBCtrls.TDBLookupControl.NullValueKey|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.