Link Search Menu Expand Document

Root.SetImage Property

Explanation Sets the image list used to display the window title icon
Added since Ver.4.1.3
Not supported in Mobile, AI
Call format //.SetImage( img )
Return value None
Arguments ImageList object that holds the image list you want to display
Set the MaskUse property to $ TRUE for the specified ImageList object. If $ FALSE, the background of the image may not be transparent and the expected drawing may not be performed.
Exception EXT-5 ImageList reference is abnormal
Example of use
    ImageList img {
    MaskUse = $TRUE;
    MaskColB = 255;
    MaskColR = 255;
    LoadImage("icon.png");
}
//.SetImage(img);
//.Icon = 1;
    
Related item Icon property
ResetImage method
ImageList class