ISRadioButton.CheckedValue

Description

The value that is saved in the linked to the radio button HRI if the radio button is checked.

Syntax

object.CheckedValue

Part Attribute Type Description
object Required
The object always implements the ISRadioButton interface

Return Value

string

Example

Display some information about the specified radio button, including the value that is saved in the linked to the radio button HRI if the radio button is checked.

Dim aRadioButton
Dim aControlInfo

Set aRadioButton = Form.Controls_("rbCaseOne")

aControlInfo =_
  "Caption: " & aRadioButton.Caption & vbNewLine &_ 
  "ShortName: " & aRadioButton.ShortName & vbNewLine &_
  "TypeName: " & aRadioButton.TypeName & vbNewLine &_
  "Checked Value: " & aRadioButton.CheckedValue               
  
Profile.MsgBox(aControlInfo)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Checked Value can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the radio button in the controls tree > CheckedValue.

Version information

Added in v7.11.0