Top
PowerCOBOL V11.0 Reference
FUJITSU Software

2.11 MenuItem Object

Description:

Each MenuItem object defines an entry in a menu. This can be a top-level menu, a dropdown menu, a cascaded menu or a popup menu.

Details:

MenuItem objects are treated as properties of the parent Menu or MenuItem object.

To set the Caption property, you code the following:

MOVE ... TO "Caption" OF "MenuItem1" OF Menu1

Note:

If you set the MenuItem Kind to "0 - Frame Left Menu", "2 - Frame Center Menu" or "4 - Frame Right Menu" in the MenuItem property page, you cannot change the Visible property of the MenuItem object and its child Menuitem objects at execution time.

Properties:

Caption

Check

Enabled

MenuBreak

Name

Visible

Methods:

None

Events:

Click

Select

Corresponding Element in PowerCOBOL V3.0 or earlier:

Menu item.