TTMSFNCPopupMenu.OnItemControlKeyDown Event
Fires when a key is pressed while an embedded control inside a menu item has focus.
API unit family: TMSFNCPopupMenu
Declaring type: TTMSFNCPopupMenu
Inherited from: TTMSFNCCustomPopupMenu
Syntax
OnItemControlKeyDown: TTMSFNCPopupMenuControlKeyEvent;
Parameters
| Name | Description |
|---|---|
Sender |
The popup menu that raised the event. |
AMenuItemControl |
The item control containing the embedded control. |
AFocusedControl |
The embedded control that has focus. |
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. |