ELEMENT_TYPE_RADIO

The tables below describe the ELEMENT_TYPE_RADIO specific parameters and additional fields for the MSG_CONF_DASHBOARD_ELEMENT message. This element generates a group of radio buttons where only one option can be selected. Initially, the first option is selected.

Table 5-79. ELEMENT_TYPE_RADIO Specific Parameters
ParameterValue
ELEMENT_TYPE0x08
Total data length of MSG_CONF_DASHBOARD_ELEMENT when using ELEMENT_TYPE_RADIO17 + length of text fields (N)
Table 5-80. Additional Data Fields to MSG_CONF_DASHBOARD_ELEMENT for ELEMENT_TYPE_RADIO
FieldSizeValuesDescription
Font size1 byte0-100
Number of items1 byte1-10
Orientation1 byte
  • 0 = Horizontal
  • 1 = Vertical
Text fieldsN bytesNull-terminated string max. 20 bytes'/' separated option list

Example

The picture below shows an example of radio button group with three buttons. The corresponding element data fields are given in the table below the picture.

: The appearance of elements will vary with operating system version and configuration.
Table 5-81. Radio Button Group
FieldValue
Z-index0
X-coordinate20
Y-coordinate20
Width100
Height100
Element type0x08
Font size16
Number of radio buttons3
Orientation1
Text fields“Op 1/Op 2/Op 3\0”