Informix Error -50108: Attempt to set a negative tabIndex in ixControl::setTabIndex(). The tabIndex will not be changed (tabIndex must be positive or noTab).
Cause and resolution
Attempt to set a negative tabIndex in ixControl::setTabIndex(). The tabIndex will not be changed (tabIndex must be positive or noTab).
If the program attempts to set a negative tab index for the control, ixControl::setTabIndex() generates this message. Negative tab indexes are not supported. The request is ignored.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50108 is raised by the ixControl class in the Window Painter GUI builder library — per the official guidance:
If the program attempts to set a negative tab index for the control, ixControl::setTabIndex() generates this message. Negative tab indexes are not supported. The request is ignored.
- Attempt to set a negative tabIndex in ixControl::setTabIndex(). The tabIndex will not be changed (tabIndex must be positive or noTab), 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
ixControlflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
- -50109 — "Attempt to set a negative tabIndex in ixControl constructor. Using defaultTabOrder instead (tabIndex must be positive, noTab, or defaultTabOrder)." Another
ixControl-related condition in this set.
Attempt to set a negative tabIndex in ixControl::setTabIndex(). The tabIndex will not be changed (tabIndex must be positive or noTab).