TTMSFNCPopupMenu.OnItemKeyDown Event
Fires when a key is pressed while a menu item is selected.
API unit family: TMSFNCPopupMenu
Declaring type: TTMSFNCPopupMenu
Inherited from: TTMSFNCCustomPopupMenu
Syntax
OnItemKeyDown: TTMSFNCPopupMenuKeyEvent;
Parameters
| Name | Description |
|---|---|
Sender |
The popup menu that raised the event. |
AMenuItemControl |
The selected item control that received the key event. |
AKeyInfo |
Key code, modifier state, and menu view reference. |
AClosePopup |
Set to True to close the menu after this event. |
ADefaultKeyHandle |
Set to False to suppress default key handling. |
ADispatchHandling |
Set to False to suppress default dispatch. |