There is a ICON control (TYPE == 8).
 
Syntax:
Window.AddControl(id, 8, X, Y, WIDTH, HEIGTH, "number");
Sample:
Window.AddControl(0,8,0,44,6,6,"32517");
Description:
Standard icons are predefined, so it is not necessary to create them. To use a standard icon, you can set number: 32517 (application), 32516(info), 32515(yellow triangle), 32514(ask), 32513(stop).

X, Y :- The horizontal base unit is equal to the average width, in pixels, of the characters in the system font; the vertical base unit is equal to the height, in pixels, of the font. Furthermore, each horizontal base unit is equal to 4 horizontal dialog units; each vertical base unit is equal to 8 vertical dialog units.

 
  GUI for script  
Content