Menu.showContext

Syntax

showContext (left, top, notCreateFrame)

Parameters

left. X coordinate.

top. Y coordinate.

notCreateFrame. Determines if a menu frame must be created. If the value is set to true (default), the menu frame is not created: that is, on removing focus from the menu the component hides.

Description

The showContext method shows a menu as a context menu.

Comments

When the showContext method is used, a menu may expand to the top or to the left if it does not fit into the visible browser area after expanding.

Example

An example of use is identical to example of the DropPanel.show method use.

See also:

Menu