ISEdit.ShortName

Description

The short name of the specified edit control.

Syntax

object.ShortName

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

Return Value

string

Example

Display some information about the specified edit control, including its short name.

Dim aEdit
Dim aEditInfo

Set aEdit = Form.Controls_("edtInform")

aEditInfo =_
  "Width: " & aEdit.Width & vbNewLine &_
  "Height: " & aEdit.Height & vbNewLine &_
  "Hint: " & aEdit.Hint & vbNewLine &_
  "Left: " & aEdit.Left & vbNewLine &_
  "Top: " & aEdit.Top & vbNewLine &_
  "Tag: " & aEdit.Tag & vbNewLine &_
  "ShortName: " & aEdit.ShortName & vbNewLine &_
  "TypeName: " & aEdit.TypeName                
  
Profile.MsgBox(aEditInfo)
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 edit control in the controls tree > Name.

Version information

Added in v7.8.0