Skip to main content
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

FMX.TMSFNCPopupMenu.hppPascalC++
OnGetPopupControl: TTMSFNCPopupMenuGetControl;
__property TTMSFNCPopupMenuGetControl OnGetPopupControl = {read=FOnGetPopupControl, write=FOnGetPopupControl};

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.