[Overview][Types][Classes][Procedures and functions][Index] |
Implements the OnKeyDown event handler for the Calendar control.
Source position: calendarpopup.pas line 33
procedure TCalendarPopupForm.CalendarKeyDown( |
Sender: TObject; |
var Key: Word; |
Shift: TShiftState |
); |
Sender |
|
Object for the event notification; the Calendar control in this case. |
Key |
|
Virtual key code examined in the method. |
Shift |
|
Virtual key modifier examined in the method. |
CalendarKeyDown is a procedure which implements the OnKeyDown event handler for the Calendar control. The method ensures that the key down virtual key code represented by Key and Shift is applied to the Calendar control, and includes:
If the virtual key code is handled in the method, the value in Key is set to zero (0). Otherwise, it is retained for use in event handlers at the Form or Application level.
|
Closes the form. |
Version 4.0 | Generated 2025-05-03 | Home |