Progress
Language Tutorial
for Character


Menu Attributes

Progress maintains attributes for menu widgets. Table 11–4, Table 11–5 and Table 11–6 list the specific attributes for menus, submenus, and menu items. For more information about these attributes, see the Progress Language Reference .

Table 11–4: Menu Attributes 
Attribute
Type
Default
Readable
Setable
FIRST-CHILD
WIDGET-HANDLE
LAST-CHILD
WIDGET-HANDLE
OWNER
WIDGET-HANDLE
TITLE
CHARACTER
TYPE
CHARACTER
MENU

Table 11–5: Submenu Attributes 
Attribute
Type
Default
Readable
Setable
FIRST-CHILD
WIDGET-HANDLE
LAST-CHILD
WIDGET-HANDLE
PARENT
WIDGET-HANDLE
TYPE
CHARACTER
SUB-MENU

Table 11–6: Menu Item Attributes 
Attribute
Type
Default
Readable
Setable
CHECKBOX
LOGICAL
FALSE
CHECKED
LOGICAL
?
LABEL
CHARACTER
SUBTYPE
CHARACTER
TYPE
CHARACTER
MENU-ITEM

Here are some examples of using menu attributes:

DISPLAY MENU sm-Reports:LABEL. /* Outputs a menu or submenu label * /

DISPLAY MENU-ITEM mi-Exit:LABEL. /* Outputs a menu item label * /

DISPLAY MENU-ITEM mi-Customer:LABEL IN MENU sm-Table. 
                                          /* Outputs a menu item label.* / 


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