TTMSFNCCustomPopupMenu.Popup Method
Shows the menu at the specified screen coordinates.
API unit family: TMSFNCPopupMenu
Declaring type: TTMSFNCCustomPopupMenu
Overloads
Overload 1
Shows the menu at the specified screen coordinates.
procedure Popup(X, Y: Single); overload; override;
virtual void __fastcall Popup(float X, float Y)/* overload */;
Parameters
| Name | Description |
|---|---|
X |
Horizontal screen position in pixels. |
Y |
Vertical screen position in pixels. |
Overload 2
Shows the menu at the specified screen coordinates.
procedure Popup(X, Y: Integer); overload; override;
virtual void __fastcall Popup(float X, float Y) = 0;
Parameters
| Name | Description |
|---|---|
X |
Horizontal screen position in pixels. |
Y |
Vertical screen position in pixels. |
Overload 3
Shows the menu positioned relative to the specified control using the given placement strategy.
procedure Popup(APopupControl: TControl; APopupMenuPlacement: TTMSFNCPopupPlacement); reintroduce; overload;
HIDESBASE void __fastcall Popup(Fmx::Controls::TControl* APopupControl, TTMSFNCPopupPlacement APopupMenuPlacement)/* overload */;
Parameters
| Name | Description |
|---|---|
APopupControl |
Control to position the menu relative to. |
APopupMenuPlacement |
Placement strategy that determines where the menu appears relative to the control. |