ISRadioButton.Text

Description

The caption of the specified radio button.

Syntax

object.Text

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 its caption.

Dim aControl
Dim aControlInfo

Set aControl = Form.Controls_("rbCaseOne")

aControlInfo =_
  "Caption: " & aControl.Caption & vbNewLine &_ 
  "Type Name: " & aControl.TypeName & vbNewLine &_ 
  "Text: " & aControl.Text               
  
Profile.MsgBox(aControlInfo)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Caption 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 > Caption.

Version information

Added in v7.8.0