TDBLookupComboBox.KeyDown procedure
Handles the Null key shortcut in key down events.
Declaration
procedure KeyDown(var Key: Word; Shift: TShiftState); overrideArguments
Key | Key examined in the method. |
Shift | Modifier(s) for the key examined in the method. |
Description
KeyDown is an overridden method used to handle and apply virtual
key code messages (
WM_KEYDOWN) received in the control.
Key
and
Shift contain the virtual key code and the
Shift-Ctrl-Alt modifiers for the message.
KeyDown ensures that the shortcut in NullValueKey is applied to
the TDBLookup and the ItemIndex for the control.
KeyDown calls the inherited method prior to exit.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
