Macro Reference — PopupMenu Object — Track Method (PopupMenu Object)

# Track Method (PopupMenu Object)

Displays the popup menu, and retrieves the identifier of the selected menu item.

##

### [JavaScript]

    id = popupmenu.Track( flags );

### [VBScript]

    id = popupmenu.Track( flags )

## Parameters

flags

Specifies where the menu should be displayed. The following value can be specified. If not specified, the popup menu will be displayed at the current cursor position.

eePosMouse | Displays the popup menu at the current mouse pointer position.

## Version

Supported on EmEditor Professional Version 5.00 or later.