ISCheckBox.TypeName

Description

This function returns the name of the checkbox 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 ISCheckBox interface

Return Value

string

Returns the name of the checkbox type.

Example

Display some information about the specified checkbox, including the name of the checkbox type.

Dim aCheckBox
Dim aControlInfo

set aCheckBox = Form.Controls_("chkMV")

aControlInfo =_
  "Caption: " & aCheckBox.Caption & vbNewLine &_ 
  "Width: " & aCheckBox.Width & vbNewLine &_
  "Height: " & aCheckBox.Height & vbNewLine &_
  "Hint: " & aCheckBox.Hint & vbNewLine &_
  "Left: " & aCheckBox.Left & vbNewLine &_
  "Top: " & aCheckBox.Top & vbNewLine &_
  "Tag: " & aCheckBox.Tag & vbNewLine &_
  "ShortName: " & aCheckBox.ShortName & vbNewLine &_
  "Enabled: " & aCheckBox.Enabled & vbNewLine &_
  "TypeName: " & aCheckBox.TypeName                
  
Profile.MsgBox(aControlInfo)  
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