ISSignature.SignaturePromptText

Description

The text displayed in the specified signature control when prompting for the signature.

Syntax

object.SignaturePromptText

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

Return Value

string

Example

Display some information about the specified control, including the text displayed in it when prompting for the signature.

Dim aSignature
Dim aSignatureInfo

Set aSignature = Form.Controls_("Signature1")
aSignatureInfo =_ 
  "ShortName: " & aSignature.ShortName & vbNewLine &_
  "TypeName: " & aSignature.TypeName & vbNewLine &_
  "Top: " & aSignature.Top & vbNewLine &_
  "Left: " & aSignature.Left & vbNewLine &_
  "Width: " & aSignature.Width & vbNewLine &_
  "Height: " & aSignature.Height & vbNewLine &_
  "Signature Prompt Text: " & aSignature.SignaturePromptText & vbNewLine &_
  "When Capture Signature: " & aSignature.WhenCaptureSignature
  
Profile.MsgBox(aSignatureInfo)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Signature Prompt Text 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 > SignaturePromptText.

Version information

Added in v8.5.0