Progress
Language Reference


WINDOW Widget

A window is a rectangular area on the screen that can contain frame widgets, parent dialog boxes, and parent other windows. It is surrounded by a standard border and affordances provided by your window system to manipulate the window’s size, location, and appearance on the screen.

Progress automatically creates one default window for each session. You can create additional dynamic windows with the CREATE Widget statement. Each additional window can be parented by the window system, creating siblings (the default) or by another window, creating child and parent window relationships. You create a parent and child relationship between two windows by setting the PARENT attribute of one (the child) to the widget handle of the other (the parent).

Windows in a parent and child relationship form a window family, which is a hierarchy of parent and child windows ultimately parented by the window system. The top parent window that is parented by the window system is the root window of the window family.

The following figure shows a window family consisting of a root window and its child window:

ATTRIBUTES

Attributes

Attributes
  1. Graphical interfaces only.
  2. Character interfaces only.
  3. Readable only.
  4. Windows only.
  5. Can be set only before the window is realized.

METHODS

Methods

EVENTS

Event Type
Supported

NOTES

SEE ALSO

DIALOG-BOX Widget, the chapter on windows in the Progress Programming Handbook .


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