[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Handles the Null key shortcut in key down events.
Source position: dbctrls.pp line 901
protected procedure TDBLookupComboBox.KeyDown( |
var Key: Word; |
Shift: TShiftState |
); override; |
Key |
|
Key examined in the method. |
Shift |
|
Modifier(s) for the key examined in the method. |
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.
|
Keyboard shortcut which causes an empty value to be assigned to the field value for the lookup control. |
|
|
Performs actions needed to apply the key down event. |
|
|
The index of the currently selected item, or -1 if none is selected. |
|
|
TDBLookup - used as source of data by TDBLookupListBox or TDBLookupComboBox, to find data from a lookup table. |
Version 3.2 | Generated 2024-02-25 | Home |