This function returns the name of the radio button type.
| Control Type in Object Inspector | Type Name |
| TButton | TICDOButton |
| TBevel | TICDOBevel |
| TCheckBox | TICDOChechBox |
| TListControl | TICDOListControl |
| TComboBox | TICDOComboBox |
| TEdit | TICDOEdit |
| TImage | TICDOImage |
| TLabel | TICDOLabel |
| TLinker | TICDOLinker |
| TMemo | TICDOMemo |
| TRadioButton | TICDORadioButton |
| TReport | TICDOReport |
| TRichEdit | TICDORichEdit |
| TISliceImageEditor | TISliceImageEditor |
| TShape | TICDOShape |
| TWebBrowser | TICDOWebBrowser |
object.TypeName()
| Part | Attribute | Type | Description |
|---|---|---|---|
object |
Required | The object always implements the
ISRadioButton interface |
string
Display some information about the specified radio button, including the name of the radio button type.
Dim aRadioButton
Dim aControlInfo
Set aRadioButton = Form.Controls_("rbCaseOne")
aControlInfo =_
"Caption: " & aRadioButton.Caption & vbNewLine &_
"Width: " & aRadioButton.Width & vbNewLine &_
"Height: " & aRadioButton.Height & vbNewLine &_
"Hint: " & aRadioButton.Hint & vbNewLine &_
"Left: " & aRadioButton.Left & vbNewLine &_
"Top: " & aRadioButton.Top & vbNewLine &_
"Tag: " & aRadioButton.Tag & vbNewLine &_
"ShortName: " & aRadioButton.ShortName & vbNewLine &_
"Enabled: " & aRadioButton.Enabled & vbNewLine &_
"TypeName: " & aRadioButton.TypeName
Profile.MsgBox(aControlInfo) In Profile Client v8 on User Interface Type Name cannot be found.