[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Handles key down events in the data-aware control.
Source position: dbctrls.pp line 1018
protected procedure TDBMemo.KeyDown( |
var Key: Word; |
Shift: TShiftState |
); override; |
Key |
|
Virtual key code examined in the method. |
Shift |
|
Sift modifier for the key code. |
KeyDown is an overridden method used to handle key down events in the control.
Key is the virtual key code examined and handled in the method. Shift is the Shift-Ctrl-Alt modifier for the virtual key code.
KeyDown calls the inherited method to handle the key down event in the method form ancestor class. If Key is not already applied, it is checked for the following values:
For the macOS (Darwin) platform, additional virtual key codes are detected (and discarded) if the contents of the field in the linked dataset cannot be modified. These keys include:
For these macOS-specific keys, the value in Key is set to 0 if the field cannot be modified.
Modified in LCL version 3.6 to handle additional data keys on the macOS (Darwin) platform.
|
Signals OnKeyDown event handlers (when assigned). |
Version 4.0 | Generated 2025-05-03 | Home |