PopupMenu [pos:] [rollout:] [align:]

This method will popup a menu anywhere on the screen.

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

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

[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:]: Can be one of the following (default:#align_topleft):










See also

Rollout User-Interface Items Common Properties

Rollout User-Interface Items Common Layout Parameters

Rollout User-Interface Control Types