Table of Contents

TTMSFNCPopupMenu.OnGetPopupControl Event

Fires to supply a custom control that the menu is positioned relative to when opened.

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

Syntax

OnGetPopupControl: TTMSFNCPopupMenuGetControl;

Parameters

Name Description
Sender The popup menu that raised the event.
AControl Set to the control the popup should be anchored to; leave unchanged to use default positioning.