The RadioButton component is used to create a group of mutually exclusive options within a display. When a user selects one RadioButton in the group, the others are automatically deselected, ensuring that only one option can be chosen at a time.
Overview
This page
On this page:
Table of Contents | ||||
---|---|---|---|---|
|
Requirements
This components runs only on Windows, on RichClient and SmartClient clients. component is Portable. It runs both on Windows and on Web Pages hosted in any platform.
Configuration
- Go to Displays / Draw.
- On the Components Panel, select Interaction, then RadioButton.
- Click or drag-and-drop it on the Drawing area to use it.
- Double-click the component to open the configuration window.
RadioButton |
---|
Configuration
Settings | |
---|---|
Field | Description |
Control Name
Defines a name for the control so it can be accessed in the CodeBehind script. See Display Code Behind.
Value
The Tag that will receive the values 0 and 1.
Label
The label that will be shown in the button.
LabelPosition
The position of the Label.
GroupName
GroupName.
Value
The value when the radio button is selected.
Radi Button Settings
Field
Description
IsChecked
-------
Blinding
- OneWay
- OutputWay
- InputWay
IsThreeState
-------
CheckedValue
--------
GroupName
GroupName.
Runtime Execution
In Runtime, the control has embedded controls to allow the Operator to modify the view.
Typically the configuration settings of <> is attached to a Tag exposed in the Display User Interface, allowing the operator to select <. >.
Label Text | Specifies the text displayed next to the RadioButton. It helps users understand the option that the RadioButton represents. |
Linked Value | Binds the RadioButton to a specific tag or object value. The state of the RadioButton will reflect or control the value of this tag. |
GroupName | Specifies the group to which the RadioButton belongs. Ensures only one RadioButton in the group can be selected at a time, enabling mutually exclusive choices. |
CheckedValue | Defines the value that the linked tag or variable will have when the RadioButton is selected. |
IsReadOnly | When checked, makes the RadioButton read-only. Users can see its state but cannot change it. |
Label Order | Controls the position of the label relative to the RadioButton. Options include Before and After, determining whether the label appears before or after the RadioButton. |
Runtime Execution
When users select a radio button, the application updates to reflect the chosen option while deselecting any previously selected button in the group. This ensures only one option is active at a time. The radio button helps users make exclusive choices, like setting an operational mode or selecting a report type.
In this section:
In this section...Page Tree | ||||
---|---|---|---|---|
|