Link Search Menu Expand Document

TrayIcon.SetImage Method

Explanation Set the image list used to display the icon in the task tray.
Call format TrayIcon1.SetImage( img )
Return value None
Arguments ImageList img
ImageList object that holds the image list you want to display
Exception EXT-5 ImageList reference is abnormal
Example of use
    ImageList iconImage {
        MaskUse = $TRUE;
        MaskColB = 255;
        MaskColR = 255;
        LoadImage("icon.png");
    }
    TrayIcon1.SetImage(iconImage);
    TrayIcon1.Icon = 1;
    
Related item Icon property
ResetImage method
ImageList class