This function returns the name of the checkbox 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
ISCheckBox interface |
string
Display some information about the specified checkbox, including the name of the checkbox type.
Dim aCheckBox
Dim aControlInfo
set aCheckBox = Form.Controls_("chkMV")
aControlInfo =_
"Caption: " & aCheckBox.Caption & vbNewLine &_
"Width: " & aCheckBox.Width & vbNewLine &_
"Height: " & aCheckBox.Height & vbNewLine &_
"Hint: " & aCheckBox.Hint & vbNewLine &_
"Left: " & aCheckBox.Left & vbNewLine &_
"Top: " & aCheckBox.Top & vbNewLine &_
"Tag: " & aCheckBox.Tag & vbNewLine &_
"ShortName: " & aCheckBox.ShortName & vbNewLine &_
"Enabled: " & aCheckBox.Enabled & vbNewLine &_
"TypeName: " & aCheckBox.TypeName
Profile.MsgBox(aControlInfo) In Profile Client v8 on User Interface Type Name cannot be found.