Progress
Programming
Handbook
Example of a Dynamic Menu
The following procedure creates a menu bar with a pull-down menu that contains dynamically created menu items of sales representatives’ names in the salesrep table:
When you run this procedure, a window containing a menu bar and a frame (to hold information on the sales rep) appears. When you pull down the Reps menu, it displays menu items that are created dynamically for each record in the salesrep table. The sales rep who services the West region is grayed out. When you select one of the enabled sales reps, information on the sales rep appears in the frame.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |