How do I change the icon in the upper left corner of the Window?


Question:

The icon in the upper left corner of the Window is a blue circle containing the letters "is". How can I replace this with my own icon?

Answer:

If you want to display the Java icon instead of the isCOBOL icon, you can set iscobol.gui.icon to false.

To replace the default window icon with your own, set this variable in your configuration file:
   iscobol.gui.icon_file=[path and name of new icon file]
You can change the icon on a specific window by using the "ICON" syntax in the DISPLAY WINDOW statement.
You pass a bitmap handle returned by calling W$BITMAP using wbitmap-load.

You can also customize the icon that displays in the system tray with W$MENU's WMENUNEW-TRAY.



Article ID: 77
Created: September 2, 2009
Last Updated: December 21, 2022
Author: Support KB Author

Online URL: https://support.veryant.com/phpkb/article.php?id=77