Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## ACTIVE-WINDOW system handle

> A handle to the last OpenEdge application window to receive an ENTRY event. You cannot set the ACTIVE-WINDOW handle, but you can read and write values for the attributes of the ACTIVE-WINDOW.

> #### Syntax

>     ACTIVE-WINDOW [ :attribute ]

> ``attribute``

> An attribute of the ACTIVE-WINDOW. The ACTIVE-WINDOW handle has all the attributes of a window widget.

> #### Notes

> - In a character interface, the ACTIVE-WINDOW, CURRENT-WINDOW, and DEFAULT-WINDOW handles return the handle of the static window for the current OpenEdge session.

> - The initial value of the ACTIVE-WINDOW handle is the CURRENT-WINDOW handle.

> - The ACTIVE-WINDOW handle monitors the active window in the OpenEdge session only. It does not monitor the active window for the window system. Accessing a non-Progress window does not affect the state of the ACTIVE-WINDOW handle.

> - You can enable or disable the current window by changing ACTIVE-WINDOW:SENSITIVE.

> - You can set the menu bar for the active window by assigning the handle of a menu bar to ACTIVE-WINDOW:MENUBAR.

> #### See also

> CURRENT-WINDOW system handle, DEFAULT-WINDOW system handle

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