Link Search Menu Expand Document

ImageButton.SetHoveredImage Method

Explanation Set the image to display on the button when the mouse cursor is over the button.
Added since Ver.5.0.3
Call format ImageButton1.SetHoveredImage( 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.SetHoveredImage(ImageList1.GetImage(0));
    ImageButton2.SetHoveredImage("img/sample.png");
    
Related item ResetHoveredImage method
Image, ImageList class