Link Search Menu Expand Document

ImageButton.SetPushedImage Method

Explanation Set the image to be displayed on the pressed button.
Call format ImageButton1.SetPushedImage( img )
Return value None
Arguments Object img Set the Image object, ImageList object, or URL.
If you specify an ImageList object, the first image is used.
When set by URL, JPEG or PNG is effective as the image format.
Exception EXT-1 Invalid URL argument
EXT-7 Invalid reference
Example of use
    ImageButton1.SetPushedImage(ImageList1.GetImage(0));
    ImageButton2.SetPushedImage("img/sample.png");
    
Related item ResetPushedImage method
Image, ImageList class