Informix Error -50004: Cannot set color attribute to a picture button.
Cause and resolution
Cannot set color attribute to a picture button.
This message is generated by ixPictureButton::setColor(). The bitmap file sets the color attribute of a picture button. Do not attempt to set the color directly.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50004 fires in the GUI builder ("Window Painter") class library -- per the official guidance: This message is generated by ixPictureButton::setColor(). The bitmap file sets the color attribute of a picture button. Do not attempt to set the color directly.
- Cannot set color attribute to a picture button -- an invalid argument, state, or NULL
value reaching
ixPictureButton::setColor(), per the official guidance.
Solutions / Resolution
- Review the application's call to
ixPictureButton::setColor()against the condition described above, and correct the argument, object state, or configuration involved, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond the GUI builder class library condition named in the official text.
Diagnostic Checks
- Check the application's use of
ixPictureButton::setColor(), against the specific condition the official text describes.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50004 in this set yet.
Cannot set color attribute to a picture button.