TDBLookupComboBox.DisplayEmpty property
Value displayed in the lookup control when a lookup value is not available.
Declaration
property DisplayEmpty: string read GetDisplayEmpty write SetDisplayEmpty;Description
DisplayEmpty is a
String property which contains the
value displayed in the lookup when no records are available in the linked
lookup dataset, or when the
NullValueKey shortcut is pressed.
Use EmptyValue to specify a KeyField value automatically added to
the ControlItems property when the linked lookup dataset contains
no records. No entry is added to Controlitems when the value in EmptyValue is
an empty string (''). The value in DisplayEmpty is used for
the ListField displayed in the control.
Use EmptyValue to specify the value stored in the lookup when no
records are available in the linked lookup dataset, or when the NullValueKey
shortcut is pressed.
The EmptyValue and DisplayEmpty properties were added in revision 62844, and released in LCL version 2.0.8 and higher.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
