Informix Error -50106
Cause and resolution
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.
The ixButton constructor generates this message. Default buttons are supported only in modal popup windows. This request is ignored.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50106 is raised by the ixWindow class in the Window Painter GUI builder library — per the official guidance:
The ixButton constructor generates this message. Default buttons are supported only in modal popup windows. This request is ignored.
- 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, per the official guidance — the direct, documented condition.
Solutions / Resolution
- No corrective action is required at the engine/runtime level — the disallowed call is simply ignored, per the official guidance — but the calling code should still be fixed, since relying on the ignore behavior masks a real logic error.
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
- -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." 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 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.