Informix Error -50125: Menu separators are not allowed on the menu bar. A dash will be drawn.
Cause and resolution
Menu separators are not allowed on the menu bar. A dash will be drawn.
This message is generated by ixMenu. Menu separators can appear only on a dropdown (pulldown) menu, not on the menu bar. Instead of a separator, a single '-' will be shown as the title of the menu item. Redo your menu to eliminate separators on the menu bar.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50125 is raised by the ixMenu class in the Window Painter GUI builder library — per the official guidance:
This message is generated by ixMenu. Menu separators can appear only on a dropdown (pulldown) menu, not on the menu bar. Instead of a separator, a single '-' will be shown as the title of the menu item. Redo your menu to eliminate separators on the menu bar.
- Menu separators are not allowed on the menu bar. A dash will be drawn, 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
ixMenuflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
- -50133 — "Cannot create a menu whose parent menu title is "-"." Another
ixMenu-related condition in this set. - -50126 — "Accelerators are not allowed on the menu bar. The accelerator will be ignored." Another
ixMenu-related condition in this set.
Menu separators are not allowed on the menu bar. A dash will be drawn.