Progress
Programming
Handbook
Windows
When you start a session, Progress automatically creates a static window for the session. You can access this static window by using the DEFAULT–WINDOW system handle. This static window is also your initial current window, which you can access and reset using the CURRENT–WINDOW system handle.
The current window is the default session window for parenting frames, dialog boxes, and messages. Depending on your user interface, you can create one or more dynamic windows, using each one in turn as the current window. You can also specify a default window for the current external procedure by assigning the widget handle of any window to the CURRENT–WINDOW attribute of the THIS–PROCEDURE handle. The setting of this attribute overrides the setting of the CURRENT–WINDOW handle for the context of the current external procedure only. It has no effect on other external procedures in the session.
In a character interface, you can use only the static window for the entire session. In a graphical interface, you can create multiple windows dynamically within an application and create parent and child relationships between them. You can also change the appearance of any window, including (with some restrictions) the static window.
This chapter describes:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |