Block Switch
universal| This
control element realizes a
button with the states on/off. In contrast to the Button universal
control element, this control element can be used with the style switchover. For example, with Block Frame you can create your own control elements in the Block style. The on state applies when the value of the connected variable matches the parameter Value for on, otherwise the state is off. With this function, this control element can also send, for example, 0 and 100 for on/off. |
Display |
|
| Use style | When this option is active, the background and
font color are taken from the active style; the parameters Background
and Font are then hidden. |
| Text
for off | Text to be displayed in the off state. The size of the text is automatically scaled with the control element. Line breaks can be inserted with the special character "\n", for example "Line1\nLine2" |
| Text for on | Text to be displayed in the on state. The size of the text is automatically scaled with the control element. Line breaks can be inserted with the special character "\n", for example "Line1\nLine2" |
| Background | Background color |
| Font | Font color |
Function |
|
| Type |
Important: The push-button function with a longer press and hold is not possible on all operating systems; for example, on Windows 10 in tablet mode, the long key press on touch is handled by the operating system as a selection. |
| Type switch | Defines whether the function is executed on a
short (Short) or long (Long) key press. |
| Value for off | Value for off state. |
| Value for on | Value for on state. Only when the
value of the connected variable matches this value is the control
element shown as pressed. |
| PIN | Optional 4-digit PIN. If a PIN is set, it is
requested before switching. |
Graphic |
|
| Graphic for off | Graphic for off state |
| Graphic for on | Graphic for on state |
| Alignment | Horizontal alignment of the graphic |
| Zoom | Scaling of the graphic in %. |
Frame |
|
| Frame | See general properties |
Connected variables |
|
| Switch | Switching address. |
| Status switch | Optional status feedback. |