Table of Contents

TTMSFNCPopupMenu.OnGetItemControlClass Event

Fires for each data item to allow substituting a custom TTMSFNCMenuItemControl subclass.

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

Syntax

OnGetItemControlClass: TTMSFNCPopupMenuItemGetControlClass;

Parameters

Name Description
Sender The popup menu that raised the event.
AMenuItem The data item for which a control class is needed.
AControlClass Set to the custom TTMSFNCMenuItemControl subclass to use for this item.