Embed one or more windows in a .NET form
- Last Updated: November 1, 2020
- 3 minute read
- OpenEdge
- Version 12.2
- Documentation
Progress.Windows.WindowContainer is a control container
class designed to embed the client area of one ABL window in any .NET form. You can do this
in one of two basic ways:
- You can first embed a window in a
WindowContainer, then add theWindowContainerto the control collection of any .NET form. - You can add a
WindowContainerto the control collection of any .NET form, then embed a window in theWindowContainer.
In this way, you can embed the client area of one or more windows in any single .NET form.
Note: If you attempt to add a
WindowContainer to a Progress.Windows.MDIChildForm, the behavior of the MDI child form and its
controls becomes unpredictable because an MDIChildForm
object is designed to embed only the single window for which you create and initialize the
form.The following general steps describe how to use a WindowContainer to embed ABL windows in .NET forms.
To embed one or more ABL windows in any .NET form: