Click or drag to resize

RadioButtonGroup.Value Property (Typed)

X#
Contains the group value setting (specified on the Window Editor Property Window) associated with the radio button within the group that is selected.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL PROPERTY Value AS USUAL GET SET 
Request Example View Source

Property Value

Type: Usual
Contains the group value setting (specified on the Window Editor Property Window) associated with the radio button within the group that is selected.
Remarks
Contains the group value setting (specified on the Window Editor Property Window) associated with the radio button within the group that is selected. The data type of the control's Value is determined by its field specification; in turn, controls linked to a data server inherit the field specification—and hence data type—from the field of the server. When the control is made data-aware, by setting its name to the name of a field in the server attached to the data window, Value is able to automatically read from and write to this field.
Tip Tip
RadioButtonGroup:Value may not always be consistent with what the state of the control, as indicated to the end-user. For example, if the data value for the field is not among the group value settings for the radio buttons in a radio button group, the control will be in a "no-match" situation. In this case the control will revert to its initial unselected state.
See Also