Progress
Language Reference


MENU-ITEM Widget

A menu item is an item within a menu or submenu. A menu item can be a rule, a space, or a normal menu item. A normal menu item can be a command or a toggle-box item. Most menu item Attributes and all menu item events apply only to normal menu items. You can set up a static menu item within a DEFINE MENU or DEFINE SUB-MENU statement. You can create a dynamic menu item with the CREATE Widget statement.

ATTRIBUTES

Attributes
  1. Graphical interfaces only.
  2. Applies to toggle-box items only.
  3. Character interfaces only.
  4. Readable only.
  5. Windows only.
  6. Can be set only before the menu-item widget is realized.

NOTE: Color and font Attributes for a menu item are ignored on Windows.

METHODS

The MENU-ITEM widget does not support any methods.

EVENTS

Event Type
Supported
CHOOSE (except for toggle-box items)
VALUE-CHANGED (for toggle-box items only)

SEE ALSO

The chapter on menus in the Progress Programming Handbook .


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095