ISImage.Enabled

Description

This property is True if the specified image control is enabled.

Syntax

object.Enabled

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

Return Value

bool

Example

Display Enabled for the specified image control.

Dim aImage
Dim aImageInfo

Set aImage = Form.Controls_("Image1")
aImageInfo =_
  "ShortName: " & aImage.ShortName & vbNewLine &_
  "TypeName: " & aImage.TypeName & vbNewLine &_  
  "Align: " & aImage.Align & vbNewLine &_  
  "Width: " & aImage.Width & vbNewLine &_
  "Height: " & aImage.Height & vbNewLine &_
  "Hint: " & aImage.Hint & vbNewLine &_
  "Left: " & aImage.Left & vbNewLine &_
  "Top: " & aImage.Top & vbNewLine &_
  "Enabled: " & aImage.Enabled                
  
Profile.MsgBox(aImageInfo)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Enabled 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 > Enabled.

Version information

Added in v7.8.0