ISBevel.TypeName

Description

This function returns the name of the bevel 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

Syntax

object.TypeName()

Part Attribute Type Description
object Required
The object always implements the ISBevel interface

Return Value

string

Example

Returns the name of the bevel type.

Dim aBevel
Dim aBevelInfo

Set aBevel = Form.Controls_("Bevel2")

aBevelInfo =_
  "Caption: " & aBevel.Caption & vbNewLine &_
  "ShortName: " & aBevel.ShortName & vbNewLine &_
  "TypeName: " & aBevel.TypeName & vbNewLine &_
  "Width: " & aBevel.Width & vbNewLine &_
  "Height: " & aBevel.Height & vbNewLine &_
  "Left: " & aBevel.Left & vbNewLine &_
  "Top: " & aBevel.Top & vbNewLine &_
  "Style: " & aBevel.Style & vbNewLine &_
  "Tag: " & aBevel.Tag & vbNewLine &_
  "Enabled: " & aBevel.Enabled & vbNewLine                                                        
  
Profile.MsgBox(aBevelInfo)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Type Name cannot be found.

Version information

Added in v7.8.0