SHADOW-WINDOW widget
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
(Windows only; GUI for .NET)
A shadow window widget is a window associated with a .NET form that allows .NET forms and ABL windows to have parenting relationships to each other. A shadow window has no visible representation. It exists solely to support a .NET form and its relationship to ABL windows in an ABL session.
You cannot explicitly create or delete a shadow window. The ABL virtual machine (AVM)
automatically creates an associated shadow window when you instantiate a .NET form from the
OpenEdge .NET Progress.Windows.Form class, and it automatically
deletes the associated shadow window when you delete an instance
Progress.Windows.Form.
Attributes
| PARENT attribute | – |
Methods
The SHADOW-WINDOW widget does not support any methods.
Events
The SHADOW-WINDOW widget does not support any events.
Notes
- To
obtain the shadow window handle of a .NET form, read the
ProWinHandleproperty of the associatedProgress.Windows.Forminstance. - To parent an ABL window to a .NET form, assign the shadow window handle of the .NET form to the PARENT attribute of the ABL window.
- To parent a .NET form to an ABL window, assign the handle of the ABL window to the PARENT attribute of the shadow window.
- Shadow windows have no NEXT-SIBLING attribute or PREV-SIBLING attribute and therefore do not appear on the session window chain.
- ABL does not create shadow windows for .NET forms that
you instantiate from the
System.Windows.Forms.Formclass. Progress Software Corporation recommends that you always instantiate such forms fromProgress.Windows.Form.
See also
Progress.Windows.Form class, ProWinHandle property, WINDOW widget