Skip to main content
Table of Contents

ITMSFNCMenuItemInteraction.HavePopup Method

Returns True if this item has a sub-menu that should open when the given virtual key is pressed.

API unit family: TMSFNCPopupMenu Declaring type: ITMSFNCMenuItemInteraction Inherited from: ITMSFNCMenuItem

Syntax

FMX.TMSFNCPopupMenu.hppPascalC++
function HavePopup(AKey: Word): Boolean;
virtual bool __fastcall HavePopup(System::Word AKey) = 0;

Parameters

Name Description
AKey Virtual key code to test, or 0 to test for any key.

Returns

True when the item owns a sub-menu triggered by the given key; False otherwise.