Progress
Programming
Handbook


Window Events

In addition to several standard events, windows respond to unique events of their own.

Several events indicate window state changes, including WINDOW–MINIMIZED, WINDOW–MAXIMIZED, and WINDOW–RESTORED.

The WINDOW–RESIZED event occurs any time a keyboard or mouse action starts to change the window’s vertical or horizontal dimensions. Note that the window RESIZE attribute must be set to TRUE for this event to occur.

The WINDOW–CLOSE event occurs when the user tries to close a window. By default, Progress takes no action when the WINDOW–CLOSE event occurs—it does not close the window. If you want your application to react to the WINDOW–CLOSE event, you must code a trigger for it or reference it in a WAIT–FOR statement. In fact, this is a typical termination condition.

WAIT-FOR WINDOW-CLOSE OF CURRENT-WINDOW. 

For more information on window events, see the Progress Language Reference .


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