[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Handles key down messages for the control.
Source position: comctrls.pp line 1566
protected procedure TCustomListView.KeyDown( |
var Key: Word; |
Shift: TShiftState |
); override; |
Key |
|
Virtual key code examined in the method. |
Shift |
|
Shift, Alt, or Ctrl modifier for the key code. |
Handles an F2 function key pressed when the control has focus. Ensures that the editor is displayed when the control is not marked as ReadOnly. The keystroke is digested (set to zero).
If the control is marked as ReadOnly, or Key is not the unshifted F2 function key, the inherited KeyDown method is called to handle the values in Key and Shift.
|
Signals OnKeyDown event handlers (when assigned). |
Version 3.2 | Generated 2024-02-25 | Home |