The image button you can use to control functionality of the IRControl System. For this you have to define an action.

Control Attribute

Picture The picutre file. (start the search button for the image dialog where you can choose an image). More about it you will find in chapter Image Dialog.
Text Optionally you can define also some text for the image button. With the attribute image position you can define how text and image will be placed in this case.
Dynamic Picture A picture loaded from a service will be displayed. See also Dynamic Attributes“
Dynamic Text A text loaded from a service will be displayed. See also Dynamic Attributes“
Font size Size of font (if also some text is defined).
Image height Height of the image. This attribute you use basically if you have defined some text additionally.
Image width Width of the image. This attribute you use basically if you have defined some text additionally.
Image padding Thie attribute defines the distance between text and image. It has any impact if there is defined some text in addition.
Image position Position of the image inside the button control. It has impact if there is defined some text additionallly. Options are left, top, right, bottom and background (in this case the immage will be displayed as button background).
ID Optional attribute. Is is used for some special configurations only.

Layout Attribute

How layouting of a control works is described in chapter Control Layout.

Actions

You can add actions to the control for the following triggers:

click Will be executed when clicking on the button
longclick The action will be executed, if you click on the button and keep it pressed for a moment.
timing The action will be executed several time, as long the button will be pressed. This makes sense especially for volume control of devies (if you use a Logitech Harmony Hub, you have to use ths trigger in any case for volume control).
oncheck It is used for some special configurations only.
onchecked It is used for some special configurations only.
onstart will be executed while creating the page after the contro is initialized
ondown will be executed while pressing the button down
onup will be executed while releasing the button
onstatechange is exexuted whenn the state of the control changes.
onunchecked It is used for some special configurations only.
onstatechange Is called when the state of the control changes.
onrefresh Is called a resfresh command was sent.

You can read more about actions in the chapter Actions.

Events

The following attributes can be changed by a event handler:

bitmap image file
bgcolor Background color
color text color
visible true / false
enabled true / false
rotate Rotation of the control in degrees
state for customer puprpose usable attribute (see also the chapter State Attribute for more information)

In chapter Events, you can read more about events.