The name of the specified 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 |
object.TypeName()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISButton interface |
string
Display some information about the specified button, including the name of the button type.
Dim aButton
Dim aControlInfo
Set aButton = Form.Controls_("btnDemo")
aControlInfo =_
"Caption: " & aButton.Caption & vbNewLine &_
"Width: " & aButton.Width & vbNewLine &_
"Height: " & aButton.Height & vbNewLine &_
"Hint: " & aButton.Hint & vbNewLine &_
"Left: " & aButton.Left & vbNewLine &_
"Top: " & aButton.Top & vbNewLine &_
"Tag: " & aButton.Tag & vbNewLine &_
"ShortName: " & aButton.ShortName & vbNewLine &_
"Enabled: " & aButton.Enabled & vbNewLine &_
"TypeName: " & aButton.TypeName
Profile.MsgBox(aControlInfo)
In Profile Client v8 on User Interface Type Name cannot be found.