Table of Contents

TTMSFNCPopupMenu.OnMenuItemSelectable Event

Fires for each item to determine whether it can be selected; set AIsSelectable to False to make the item non-selectable.

API unit family: TMSFNCPopupMenu Declaring type: TTMSFNCPopupMenu Inherited from: TTMSFNCCustomPopupMenu

Syntax

OnMenuItemSelectable: TTMSFNCPopupMenuItemControlAllowEvent;

Parameters

Name Description
Sender The popup menu that raised the event.
AMenuItemControl The item control being evaluated for selectability.
AAllow Set to False to prevent this item from being selected.