Top
PowerCOBOL V11.0 Reference
FUJITSU Software

5.71 PopupMenu Method

Description:

Opens a floating popup menu.

Used in controls:

None.

Used in objects:

Form

Parameters:

VT_BSTR - MenuNameX(8192)

[VT_I4 - PosXS9(9) COMP-5]

[VT_I4 - PosYS9(9) COMP-5]

Description of Parameters:

MenuName: The name of Menu object
(Name property value)

PosX: The relative position (X coordinates) for the top left corner of the floating popup menu. The units are defined in the ScaleMode property.

PosY: The relative position (Y coordinates) for the top left corner of the floating popup menu. The units are defined in the ScaleMode property.

Return value:

None.

Example:

To display a pop-up menu at the point the mouse is clicked code, in the MouseUp event:

INVOKE POW-SELF "PopupMenu"
  USING "PopupMenuName"

Backward compatibility
method name:

None.