Skip to main content
Table of Contents

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

FMX.TMSFNCPopup.hppPascalC++
procedure KeyDown(var Key: Word; var KeyChar: WideChar; Shift: TShiftState); override;
virtual void __fastcall KeyDown(System::Word &Key, System::WideChar &KeyChar, System::Classes::TShiftState Shift);

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.