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