Visualization Element ‘Radio button’¶
Symbol:
Tag: Common controls
This element provides a field with any number of options.
Element properties
Element name | Optional Tip: Assign individual names for elements so that they are found faster in the element list. Example: |
Element type | Radio button |
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 that is displayed with the element and changed. |
Number of columns | Definition of the number of list boxes displayed in a row. |
Radio button order | Left to right: The radio buttons are aligned by rows until the number of columns is reached. Top to bottom: The radio buttons are aligned row by columns until the number of columns is reached. |
Frame size | Defines the distance from the list boxes to the edge (in pixels). |
Row height | Height of the row (in pixels). Modifying the height of the row also changes the size of the list box. |
Element property ‘Text properties’
The properties contain fixed values for the text properties.
Usage of |
|
Individual text properties Requirement: The Individual settings text property is defined. |
|
Horizontal alignment | Horizontal alignment of the text within the element. |
Vertical alignment | Vertical alignment of the text within the element. |
Text format | Definition for displaying texts that are too long
|
Font | Example: Default
|
Font color | Example: Black
|
Transparency | Whole number (value range from Example:
Please note: If the color is a style color and already has a transparency value, then this property is write-protected. |
Element property ‘State variables’
The variables control the element behavior dynamically.
Invisible | Variable (
|
Deactivate inputs | Variable (
|
Element property ‘Radio button settings’
Radio button
|
Create new: Clicking this button creates a new selection button in the editor and lists an additional area in the properties editor. For each radio button, an area is visible that records the settings.
|
Areas: [<n>] | |
Text | The button name is specified here. Default value: Radio_button |
Tooltip | Text is specified here that is displayed in a tooltip. |
Line spacing (in pixels) | The distance (in pixels) to the upper button can be specified here. |