ImageButton class
An ImageButton is a custom button that can display any image. To create a HyperLink control, use the wb_create_control()
function.
NOTE: This class supercedes the InvisibleArea
class.
Options
- To determine the number of images of an ImageButton, call the wb_set_image() function
passing the number of images in param. The default is 1 image.
Images must be set in the following order: normal, highlighted,
pressed and disabled.
- To create an invisible ImageButton, use the
WBC_TRANSPARENT
flag.
- To make the ImageButton send multiple notifications, use the
WBC_AUTOREPEAT flag.
- To change the ImageButton cursor to a finger, call the wb_set_cursor() function
with 'finger' as the source parameter after creating the control.
See also
wb_create_control
wb_set_image
wb_set_cursor
InvisibleArea
Style
flags
Control
classes