Table of Contents

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;

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;

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;

Parameters

Name Description
APopupControl Control to position the menu relative to.
APopupMenuPlacement Placement strategy that determines where the menu appears relative to the control.