The thext button you can use to start any functionality inside IRControl System. For this you have to define an action.
|Text||Text that will be displayed|
|Dynamic Text||A text loaded from a service will be displayed. See also Dynamic Attributes“|
|Font size||Size of font|
|Text Align||Alignment of text within the control. This option only has some effect if the width of the control is larger than the text. The Height=“Warp“ (Layout tab) does not make any sense in this context.|
|ID||Optional attribute. Is is used for some special configurations only.|
The Layout Attributes of a control are described in chapter Control Layout.
You can define actions 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).|
|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||Will be called if the state attribute of the control changes.|
|onrefresh||Will be executed, while the Refresh Event is sent|
You can read more about actions in the chapter Actions.
The following attributes can be changed by a event handler:
|rotate||Rotation of the control in degrees|
|visible||true / false if the button is visible|
|enabled||true / false if the button is enabled|
|width||width of the control|
|height||height of the control|
|state||for customer puprpose usable attribute (see also the chapter State Attribute for more information)|
In chapter Events, you can read more about events.