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