ISShape.Enabled

Description

This property is True if the specified shape is enabled.

Syntax

object.Enabled

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

Return Value

bool

Example

Display Enabled for the specified shape.

Dim aShape
Dim aShapeInfo

Set aShape = Form.Controls_("Shape1")

aShapeInfo =_
  "ShortName: " & aShape.ShortName & vbNewLine &_
  "TypeName: " & aShape.TypeName & vbNewLine &_
  "Enabled: " & aShape.Enabled  
    
Profile.MsgBox(aShapeInfo)  
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 shape in the controls tree > Enabled.

Version information

Added in v7.8.0