ISShape.FillColor

Description

The color that fills the specified shape.

Syntax

object.FillColor

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

Return Value

uint

Example

Display some information about the specified shape, including the color that fills it.

Dim aShape
Dim aShapeInfo

Set aShape = Form.Controls_("Shape1")
aShapeInfo =_
  "Type Name: " & aShape.TypeName & vbNewLine &_ 
  "ShortName: " & aShape.ShortName & vbNewLine &_
  "FillColor (BGR): #" & HEX(aShape.FillColor) 
  
Profile.MsgBox(aShapeInfo)  
Note: This macro should be executed in any event handler of the form control.

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

Version information

Added in v7.8.0