Progress
Programming
Handbook
Dynamic Menus
Dynamic menus are similar to static menus in several ways:
Dynamic menus are different from static menus in the following ways:
- Dynamic menus are created during run time. Your application can create as many menu items as needed or can add menu items to existing static or dynamic menus. In contrast, static menus and menu items are fixed in quantity at compile time.
- The syntax you use to generate dynamic menus, as well as to assign characteristics, are different. Recall that to generate static menus, you use the DEFINE MENU and DEFINE SUB–MENU statements. For dynamic menus, you use the CREATE MENU, CREATE SUB–MENU, and CREATE MENU–ITEM statements.
- To delete a dynamic widget, you use the DELETE WIDGET statement. When the application deletes a dynamic widget, Progress automatically deletes all its children or descendents.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |