Table of Contents

ITMSFNCMenuView Interface

Interface implemented by controls that act as a menu view — an ordered list of selectable items with parent/child view nesting for sub-menus.

API unit family: TMSFNCPopupMenu

Syntax

ITMSFNCMenuView = interface

Properties

Name Description
ChildView The child menu view currently open as a sub-menu of this view, or nil if no sub-menu is open.
Loop Whether the menu event loop should continue running for this view. Set to False to signal the loop to exit.
ParentView The parent menu view that opened this view as a sub-menu, or nil if this is the root view.
Selected The item control that is currently highlighted or selected in this view.

Methods

Name Description
MenuKeyDown Dispatches a key-down event to the view for built-in menu keyboard navigation.
ReferenceAtPoint Returns the item control located at the given point, or nil if no item is at that position.