Progress
Programming
Handbook


The MENU–DROP Event

The MENU–DROP event occurs every time you bring a pull-down menu or pop-up menu into view. You can write a trigger on the MENU–DROP event to enable or disable specific items within the menu.

NOTE: To trigger this event for a menu widget, the menu widget must be a pop-up menu. Otherwise, you can only trigger this event for a submenu widget.

CAUTION: Do not interact with the window manager from within a MENU–DROP trigger. Doing so causes the window manager to lose control of the system, forcing you to reboot or restart the window manager. Actions to avoid include any window system input or output. These include actions that can generate a warning or error message, forcing window system output. Use the NO–ERROR option on supported statements to help avoid this situation. Otherwise, check valid values, especially for run-time resources like widget handles, to prevent Progress from displaying unexpected messages.

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