TTMSFNCCustomNonFocusablePopupForm.KeyDown Method
Handles keyboard input for the popup form, closing it when Escape is pressed.
API unit family: TMSFNCPopup
Declaring type: TTMSFNCCustomNonFocusablePopupForm
Inherited from: TTMSFNCCustomPopupForm
Syntax
procedure KeyDown(var Key: Word; var KeyChar: WideChar; Shift: TShiftState); override;
Parameters
| Name | Description |
|---|---|
Key |
Virtual key code to handle. |
KeyChar |
Character associated with the key press. |
Shift |
Shift-state modifiers active during the key press. |