PUBLIC WindowContainer ( )System.Windows.Forms.UserControl class (from the .NET Framework)
To embed the client area of an ABL window in a .NET form, set the EmbeddedWindow property of the WindowContainer to the handle of the ABL window and add the WindowContainer to a Progress.Windows.Form class instance. For more information on how ABL supports the behavior of the ABL window and its client area embedded in a form using a Progress.Windows.WindowContainer, see the EmbeddedWindow property reference entry.
You can use multiple instances of this class to embed the client areas of one or more ABL windows in the client area of any single .NET form. However, a Progress.Windows.MDIChildForm is designed to embed the client area of only one ABL window that you associate with the object. For more information, see the Progress.Windows.MDIChildForm class reference entry.
The menus from an embedded ABL window are not added to any form to which you add the WindowContainer. You must add any associated menu or toolbar functionality to the form using corresponding .NET controls.
For any WindowContainer that you add to a Progress.Windows.Form, you must programmatically resize and reposition the WindowContainer to fit the client area of the form as it is being resized.
When you embed the client area of an ABL window in a form, the window and its widgets do not interact directly with other .NET controls that may be added to the form. This means, for example, the embedded client area does not participate in the tab order of the form. Thus, there is no way to tab into the embedded client area from another .NET control or WindowContainer, and there is no way to tab out of the embedded client area into another .NET control or WindowContainer. All tabbing within an embedded client area stays within the WindowContainer where it is embedded.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |