Informix Error -50110: Attempt to create a modelessPopup style ixWindow with a modalPopup style ixWindow as its container. A modalPopup cannot contain a modelessPopup. Use modalPopup as the windowStyle of the new ixWindow instead.
Cause and resolution
Attempt to create a modelessPopup style ixWindow with a modalPopup style ixWindow as its container. A modalPopup cannot contain a modelessPopup. Use modalPopup as the windowStyle of the new ixWindow instead.
The ixWindow constructor generates this message. The only style of window that a modal window can contain is another modal window. The new window is assumed to be modalPopup style.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50110 is raised by the ixWindow class in the Window Painter GUI builder library — per the official guidance:
The ixWindow constructor generates this message. The only style of window that a modal window can contain is another modal window. The new window is assumed to be modalPopup style.
- Attempt to create a modelessPopup style ixWindow with a modalPopup style ixWindow as its container. A modalPopup cannot contain a modelessPopup. Use modalPopup as the windowStyle of the new ixWindow instead, per the official guidance — the direct, documented condition.
Solutions / Resolution
- Adjust the calling code to respect the constraint named in the message, per the official guidance — no other resolution is documented.
Examples
N/A
No specific triggering statement is documented beyond the class-library condition described above.
Diagnostic Checks
- Check the specific value, object state, or call sequence that
ixWindowflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
- -50106 — "Attempt to set default button in a top level style ixWindow. Only a modalPopup style ixWindow can have a default button. No default button will be set." Another
ixWindow-related condition in this set. - -50104 — "Attempt to open a popup ixWindow while its containing ixWindow is still unopened." Another
ixWindow-related condition in this set.
Attempt to create a modelessPopup style ixWindow with a modalPopup style ixWindow as its container. A modalPopup cannot contain a modelessPopup. Use modalPopup as the windowStyle of the new ixWindow instead.