Table of Contents

ITMSFNCMenuView.MenuKeyDown Method

Dispatches a key-down event to the view for built-in menu keyboard navigation.

API unit family: TMSFNCPopupMenu Declaring type: ITMSFNCMenuView

Syntax

procedure MenuKeyDown(AKeyInfo: TTMSFNCMenuItemKeyInfo; var AClosePopup: Boolean; var ADispatchHandling: Boolean);

Parameters

Name Description
AKeyInfo Key code and modifier state of the pressed key.
AClosePopup Set to True by the view to request that the menu loop close the popup.
ADispatchHandling Set to False to prevent further propagation of the key event.