Informix Error -50109: Attempt to set a negative tabIndex in ixControl constructor. Using defaultTabOrder instead (tabIndex must be positive, noTab, or defaultTabOrder).
Cause and resolution
Attempt to set a negative tabIndex in ixControl constructor. Using defaultTabOrder instead (tabIndex must be positive, noTab, or defaultTabOrder).
The ixControl constructor generates this message if the program attempts to set a negative tab index for the control. Negative tab indexes are not supported. The defaultTabOrder is used.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50109 is raised by the ixControl class in the Window Painter GUI builder library — per the official guidance:
The ixControl constructor generates this message if the program attempts to set a negative tab index for the control. Negative tab indexes are not supported. The defaultTabOrder is used.
- Attempt to set a negative tabIndex in ixControl constructor. Using defaultTabOrder instead (tabIndex must be positive, noTab, or defaultTabOrder), per the official guidance — the direct, documented condition.
Solutions / Resolution
- A documented default value is substituted automatically, per the official guidance, so the program keeps running — but the supplied value should still be corrected at the source.
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
ixControlflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
- -50108 — "Attempt to set a negative tabIndex in ixControl::setTabIndex(). The tabIndex will not be changed (tabIndex must be positive or noTab)." Another
ixControl-related condition in this set.
Attempt to set a negative tabIndex in ixControl constructor. Using defaultTabOrder instead (tabIndex must be positive, noTab, or defaultTabOrder).