Progress
Language Reference


MENU Widget

A menu can be a menu bar or a pop-up menu. Menu bars contain sub-menus (specifically, pull-down menus) and in some environments menu items. Pop-up menus contain menu items and sub-menus. You can define a static menu with the DEFINE MENU statement. You can create a dynamic menu with the CREATE Widget statement.

The following is a menu bar:

The following is a pop-up menu:

ATTRIBUTES

Attributes
  1. Graphical interfaces only.
  2. Character interfaces only.
  3. Readable only.
  4. Windows only.
  5. Can be set only before the menu widget is realized.

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

METHODS

The MENU widget does not support any methods.

EVENTS

Event Type
Supported
  1. Supported only when the POPUP-ONLY attribute is set to TRUE and the menu is set as a popup for some other widget.

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