Data type:
Access: Note that when you embed an ABL window in a .NET form, only the client area of the window is embedded. ABL ignores all other components of the ABL window, including border controls, menu bar, message area, and status area. For more information, see the reference entries for the Progress.Windows.MDIChildForm class and Progress.Windows.WindowContainer class.When you embed the client area of an ABL window in a supported .NET control container, the various attributes, methods, and events of the embedded ABL window either function normally, change behavior, or have no function (are ignored), depending on the element. The following tables describe how these elements are affected by embedding the ABL window. For more information on the attributes, methods, and events of an ABL window, see the WINDOW widget reference entry.
Note: Table 132 lists those attributes that work on an embedded ABL window in the same way as on a non-embedded window.
CONTEXT-HELP-FILE1 MENU-KEY2 SCROLL-BARS3
You can specify a context help file for all frames within an embedded window by setting its CONTEXT- HELP-FILE attribute. However, ABL does not support the CONTEXT-HELP attribute for embedded windows (see Table 134). Instead, you must set the HelpButton property on the containing form in order to enable the context-help button on the form's caption bar. This containing form can be an MDI parent form, an MDI child form, or a form that contains a WindowContainer object. Note that MDI applications generally do not use the context-help feature on their forms; this feature is most commonly used in dialog boxes.
Table 133 describes attributes whose behavior on an embedded ABL window differs from how they behave on a non-embedded window.
This attribute specifies the parent of a window in an ABL window hierarchy. An embedded window cannot participate in this hierarchy. So, the PARENT attribute always returns the Unknown value (?) for an embedded window. ABL ignores any setting of this attribute on an embedded window. These attributes work for embedded windows. They determine the size of the virtual window for scrolling frames in windows. As noted for the SCROLL-BARS attribute in Table 132, ABL handles the scrolling of frames within an embedded window. For embedded windows, ABL maintains a minimum size for the virtual window; you cannot make the size of this virtual window smaller than the physical size of the embedded window container because that would cause the container to become smaller.Table 134 lists attributes on an embedded ABL window that ABL ignores. You can read or write these attributes without error, but they have no effect because their function has no meaning for the client area of an ABL window embedded in a .NET form. For the corresponding behavior in a .NET form object, use the appropriate .NET class members.
Table 134: FGCOLOR1 FULL-HEIGHT-CHARS2 MAX-HEIGHT-CHARS3 MIN-HEIGHT-CHARS4
These attributes always return the Unknown value (?) when queried on an embedded window because there is no concept of "full" window size for an embedded window.
These attributes always return the Unknown value (?) when queried on an embedded window because there is no concept of "maximum" window size for an embedded window.
Table 135 describes how methods are supported on an embedded ABL window.
Table 135: For an embedded ABL window, ABL frame-level (ENTRY, LEAVE, etc.) and field-level events (mouse button clicks, etc.) fire normally on the embedded frames and the widgets they contain (see the “Handle-based Object Events Reference” section). However, most window-level events do not fire because the ABL window is not visualized. You must handle .NET form events in ABL using .NET event handlers (see the “Class Events Reference” section). Table 136 describes how ABL supports window-level events for embedded ABL windows.
Table 136:
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |