Table of Contents

ITMSFNCMenuItem Interface

Core interface implemented by every interactive menu item; provides selection state, popup detection, and size calculation.

API unit family: TMSFNCPopupMenu

Syntax

ITMSFNCMenuItem = interface

Properties

Name Description
IsSelected Whether the item is currently highlighted as the active selection in its containing menu view. True means the item is highlighted; False means it is not.
View The menu view that directly contains this item.

Methods

Name Description
CalcSize Calculates the preferred size of the menu item in the current layout.
HavePopup Returns True if this item has a sub-menu that should open when the given virtual key is pressed.
NeedPopup Requests that the item open its associated sub-menu or popup.