Visualization element ‘Image switcher’¶
Symbol:
Tag: Lamps/Switches/images
This element displays one of three referenced images. Mouse actions change the displayed image. The images are defined in the Image settings element properties. The effects of mouse clicks are defined in the Element behavior property.
Element properties
Element name | Optional Tip: Assign individual names for elements so that they are found faster in the element list. Example: |
Element type | Image switcher |
Element property ‘Position’
The position defines the location and size of the element in the visualization window. These are based on the Cartesian coordinate system. The origin is located at the upper left corner of the window. The positive horizontal x-axis runs to the right. The positive vertical y-axis runs downwards.
X | X coordinate of the upper left corner of the element Specified in pixels. Example: |
Y | Y coordinate of the upper left corner of the element Specified in pixels. Example: |
Width | Specified in pixels. Example: |
Height | Specified in pixels. Example: |
Note
You can also change the values by dragging the box symbols ( ) to other positions in the editor.
See also
Variable | Variable ( The value of the variable changes according to user input and it is independent of the Element behavior element property. |
Image settings
Image “on” | Image ID from an image pool. The image can be selected using the input assistant. The image is used if the variable of the Variable property has the value |
Image “off” | Image ID from an image pool. The image can be selected using the input assistant. The image is used if the variable of the Variable property has the value |
Image “clicked” | Image ID from an image pool. The image is selected using the input assistant. In runtime mode, the visualization displays the referenced image when the element is clicked (and the mouse button is held down). Requirement: The Element behavior is Image toggler. |
Transparency | ![]() |
Transparent color | The image pixels that have the transparent color are displayed as transparent. Requirement: Transparency is activated.
|
Scaling type | Defines how an image fits in the element frame.
|
Horizontal alignment | Horizontal alignment of the image within the element frame or element
Requirement: Scaling type is Isotropic. |
Vertical alignment | Vertical alignment of the image within the element frame or element
Requirement: Scaling type is Isotropic. |
Element behavior | |
Tap FALSE |
Requirement: Image tapper is selected in the Element behavior property. |
Element property ‘Texts’
Tooltip | String display as tooltip for the element. Example: Valid access . |
Element property ‘State variables’
The variables control the element behavior dynamically.
Invisible | Variable (
|
Deactivate inputs | Variable (
|
Element property ‘Access rights’
Requirement: User management is set up for the visualization.
Access rights | Opens the Access rights dialog box for changing the access rights for the element. Status messages:
|
See also