![]() |
Previous | Next |
The image attribute specifies or retrieves the default image of the BUTTON.
Syntax
elementID.image
Possible Values
This attribute is a read/write String containing the image file name.
Remarks
The supported image formats are BMP, JPG, PNG, and GIF (including animated GIFs).
If the BUTTON image is larger than the region defined by the width and height attributes, the image will be cropped.
If the image is not specified but the height and width are, then the image directly behind this control is displayed. This can facilitate drawing the image on the VIEW itself, reducing the number of separate image files needed.
If the image cannot be retrieved, a default image (the red-x image) is displayed.
See Also
Previous | Next |