ISRadioButton.TypeName

Description

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

Syntax

object.TypeName()

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

Return Value

string

Returns the name of the radio button type.

Example

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)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Type Name cannot be found.

Version information

Added in v7.8.0