ISImage.ShortName

Description

The short name of the specified image control.

Syntax

object.ShortName

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

Return Value

string

Example

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

Dim aImage
Dim aImageInfo

Set aImage = Form.Controls_("Image1")
aImageInfo =_
  "Caption: " & aImage.Caption & vbNewLine &_ 
  "Width: " & aImage.Width & vbNewLine &_
  "Height: " & aImage.Height & vbNewLine &_
  "Hint: " & aImage.Hint & vbNewLine &_
  "Left: " & aImage.Left & vbNewLine &_
  "Top: " & aImage.Top & vbNewLine &_
  "Tag: " & aImage.Tag & vbNewLine &_
  "ShortName: " & aImage.ShortName & vbNewLine &_
  "TypeName: " & aImage.TypeName                
  
Profile.MsgBox(aImageInfo) 
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 image control in the controls tree > Properties > Name.

Version information

Added in v7.8.0