[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Handles key down events for the control.
Source position: dbctrls.pp line 367
protected procedure TCustomDBListBox.KeyDown( |
var Key: Word; |
Shift: TShiftState |
); override; |
Key |
|
Virtual key code applied in the method. |
Shift |
|
Modifier for the key code applied in the method. |
KeyDown is an overridden method in TCustomDBListBox which applies the specified virtual key code and modifier to the control. KeyDown calls the inherited method, and ensures that the linked dataset is updated as needed for the key down event. The following actions are performed for the corresponding keys:
|
Checks whether the link is active, calls the OnDataChange event handler then sets IsModified to False. |
|
|
Edit - if the field can be modified, performs inherited Edit and shows editing status. |
|
|
Signals OnKeyDown event handlers (when assigned). |
Version 4.0 | Generated 2025-05-03 | Home |