Text button

The text button you can use to start any functionality inside IRControl System. For this you have to define an action.

Control attributes

TextText that will be displayed
Dynamic TextA text loaded from a service will be displayed. See also Dynamic Attributes
Font sizeSize of font
Text AlignAlignment 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.
IDOptional attribute. Is is used for some special configurations only.

Layout attributes

The Layout Attributes of a control are described in chapter Control Layout.

Actions

You can define actions for the following triggers:

clickWill be executed when clicking on the button
longclickThe action will be executed, if you click on the button and keep it pressed for a moment.
timingThe 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).
onstartwill be executed while creating the page after the contro is initialized
ondownwill be executed while pressing the button down
onupwill be executed while releasing the button
onstatechangeWill be called if the state attribute of the control changes.
onrefreshWill be executed, while the Refresh Event is sent

You can read more about actions in the chapter Actions.

Events

The following attributes can be changed by a event handler:

bgcolorBackground color
colorText color
rotateRotation of the control in degrees
visibletrue / false if the button is visible
enabledtrue / false if the button is enabled
xX coordinate
yY coordinate
widthwidth of the control
heightheight of the control
statefor customer puprpose usable attribute (see also the chapter State Attribute for more information)

In chapter Events, you can read more about events.