Link Search Menu Expand Document

FlexHeader.SetImage Method

Explanation Sets the image list used to display the cell icon.

Display example
https://biz-collections.com/support/webpages/html/onlinemanual/browser/crs/pac/ext4/ext_flexheaderm1.files/image001.png

If the icon to display is larger than the row height, it will be scaled down while maintaining the aspect ratio.
Added since Ver.4.1.0
Call format FlexHeader1.SetImage( img )
Return value None
Arguments ImageList img ImageList object that holds the image list you want to display
Exception None
Example of use
    FlexHeader FlexHeader1 {
        :
    }
    var img = new ImageList {
        MaskUse = $TRUE;
        MaskColR = 1;
        LoadIcon("crs");
        LoadIcon("bdp");
        LoadIcon("car");
    }
    FlexHeader1.SetImage(img);
    FlexHeader1.Icon = 0;
    
Related item Icon property
ResetImage method
ImageList class