ISSignature.WhenCaptureSignature

Description

This property defines the appropriate time for the signature to be prompted.

Syntax

object.WhenCaptureSignature

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

Return Value

TSCaptureSignature

Example

Display some information about the signature control, including the appropriate time for the signature to be prompted.

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 When Capture Signature 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 > WhenCaptureSignature.

Version information

Added in v8.5.0