ISBevel.Tag

Description

The tag of the specified bevel.

Syntax

object.Tag

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

Return Value

int

Example

Display some information about the specified bevel, including its tag.

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 &_
  "Is Visible: " & aBevel.IsVisible & 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 Tag can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the bevel in the controls tree > Properties > Tag.

Version information

Added in v7.8.0