ISSignature.Top

Description

The vertical offset of the specified signature control from the top left corner of the form.

Syntax

object.Top

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

Return Value

int

Example

Display some information about the specified signature control, including its vertical offset from the top left corner of the form.

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 Top 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 > Top.

Version information

Added in v8.5.0