Table of Contents

TTMSFNCCustomPopupForm.KeyDown Method

Handles keyboard input for the popup form, closing it when Escape is pressed.

API unit family: TMSFNCPopup Declaring type: 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.