The composite is a layout element that only can contain other layout elemtns. You can use it for example to make a colored area as background of other elements. You can also enable/disable a group of controls by swtiching the composite on/off they belongs to (read more about also in chapter Events).
Control Attributes
Sub Controls | The elements (controls) inside the composite. The x- and y coordinate refers to the position inside the composite. |
Edit in Layouteditor | With this button a additional layouteditor will be startet with the
content of the composite. You can modifiy now the composite like a
layout page. After finishing the the content will be transferd to the
calling layout editor and and integrated in its Content. |
ID | Optional attribute. Is is used for some special configurations only. |
Fix position | If you use an composite as background, you can fix it on screen with the option «Fix Position». If you do so, you can’t move it (by fault) with drag & drop anymore . |
Layout Attributes
The Layout Attributes of a control are described in chapter Control Layout.
Actions
If there is a action defined on composite itself, it is not possible
to add actions to the controls inside the composite too. You can add
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 |
You can read more about actions in the chapter Actions.
Events
The following attributes can be changed by a event handler:
bgcolor | Background color |
visible | true / false |
x | X coordinate |
y | Y coordinate |
width | width of the control |
height | height of the control |
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 event handling.