PopupMenu

PopupMenu <RCMenu> [pos:<Point2>] [rollout:<Rollout>] [align:<key>]

This method will popup a menu anywhere on the screen.

<RCMenu>: Any RCMenu defined. It does not have to be registered.

[pos:<Point2>]: The point where to put the menu up, either relative to the Rollout or the screen. (Default:popup from current mouse position.)

[rollout:<Rollout>]: This will make the menu popup from a rollouts local coordinate system. Specifying undefined will popup the menu relative to the upper left corner of the screen. (Default:undefined)

[align:<key>]: Can be one of the following (default:#align_topleft):

#align_topleft

#align_topcenter

#align_topright

#align_bottomleft

#align_bottomcenter

#align_bottomright

#align_vcenterleft

#align_vcentercenter

#align_vcenterright

See also

Rollout User-Interface Items Common Properties

Rollout User-Interface Items Common Layout Parameters

Rollout User-Interface Control Types