ISProfileForm.ShortName

Description

The short name of the form.

Syntax

object.ShortName

Part Attribute Type Description
object Required
The object always implements the ISProfileForm interface
Restriction: This property is readonly.

Return Value

string

Example

Display some information about the form, including its short name.

Dim aForm
Dim aMessage

Set aForm = Profile.Form
aMessage = "Form Info: " & vbNewLine & vbNewLine &_
  "- Caption: " & aForm.Caption & vbNewLine &_
  "- ID: " & aForm.ID & vbNewLine &_
  "- Name: " & aForm.Name_ & vbNewLine &_
  "- Height: " & aForm.Height & vbNewLine &_
  "- Width: " & aForm.Width & vbNewLine &_
  "- Top: " & aForm.Top & vbNewLine &_
  "- Left: " & aForm.Left & vbNewLine &_
  "- Tag: " & aForm.Tag & vbNewLine &_
  "- Short Name: " & aForm.ShortName & vbNewLine       
  
Profile.MsgBox(aMessage) 
Note: This macro should be executed in any event handler of the form control.

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

Version information

Added in v7.8.0