Release 10.1A: OpenEdge Development:
Progress 4GL 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

> DCOLOR attribute2 | DYNAMIC attribute3 | FIRST-CHILD attribute3
> HANDLE attribute3 | HTML-CHARSET attribute3, 4 | LAST-CHILD attribute3
> NAME attribute | OWNER attribute | PFCOLOR attribute2
> POPUP-ONLY attribute1 | PRIVATE-DATA attribute | SENSITIVE attribute
> TITLE attribute5 | TITLE-DCOLOR attribute2 | TYPE attribute3
> VISIBLE attribute | WINDOW attribute3 |
> Graphical interfaces only. Character interfaces only. Readable only. Windows only. Can be set only before the menu widget is realized.

> Note: Color and font attributes for a menu are ignored in Windows.

> #### Methods

> The MENU widget does not support any methods.

> #### Events

> Developer events | MENU-DROP1
> Supported only when the POPUP-ONLY attribute is set to TRUE and the menu is set as a popup for some other widget.

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