ISSignature.Caption

Description

The caption of the specified signature control.

Syntax

object.Caption

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

Return Value

string

Example

Display some information about the specified signature control, including its caption.

Dim aSignature
Dim aSignatureInfo

Set aSignature = Form.Controls_("Signature1")
aSignatureInfo =_
  "ShortName: " & aSignature.ShortName & vbNewLine &_
  "Caption: " & aSignature.Caption & vbNewLine &_
  "TypeName: " & aSignature.TypeName & vbNewLine &_  
  "Width: " & aSignature.Width & vbNewLine &_
  "Height: " & aSignature.Height & vbNewLine &_
  "Left: " & aSignature.Left & vbNewLine &_
  "Top: " & aSignature.Top & vbNewLine &_
  "IsModified " & aSignature.IsModified & vbNewLine &_  
  "Enabled: " & aSignature.Enabled              
  
Profile.MsgBox(aSignatureInfo)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Caption can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the signature control in the controls tree > Properties > Name.

Version information

Added in v8.5.0