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