ISShape.Shape

Description

The shape type of the specified shape.

Syntax

object.Shape

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

Return Value

TSShapeType

Example

Display some information about the specified shape, including its shape type.

Dim aShape
Dim aShapeInfo

Set aShape = Form.Controls_("Shape1")

aShapeInfo =_
  "ShortName: " & aShape.ShortName & vbNewLine &_
  "TypeName: " & aShape.TypeName & vbNewLine &_
  "Shape: " & aShape.Shape                            
  
Profile.MsgBox(aShapeInfo) 
Note: This macro should be executed in any event handler of the form control.

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

Version information

Added in v7.8.0