Example: (in custmain.4gl)

This example shows how to use the built-in class method ui.Interface.setImage to change the icon for the application windows.

Module custmain.4gl:
...
04 MAIN
05   DEFINE query_ok SMALLINT
06
07   DEFER INTERRUPT
08
09   CONNECT TO "custdemo"
10   CLOSE WINDOW SCREEN
11   CALL ui.Interface.setImage("smiley")
12   OPEN WINDOW w1 WITH FORM "custform"
13 
...
Note: