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

Question ID : 77
Created on 2009-09-02 at 1:01 PM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=77



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.



Back to Original Question