ISMemo.ParentColor

Description

This property is True if the specified memo control inherits the color from its parent control.

Syntax

object.ParentColor

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

Return Value

bool

Example

Display ParentColor for the specified memo control.

Dim aMemo
Dim aMemoInfo

Set aMemo = Form.Controls_("memComment")

aMemoInfo =_
  "Short Name: " & aMemo.ShortName & vbNewLine &_
  "TypeName: " & aMemo.TypeName & vbNewLine &_   
  "Parent Color: " & aMemo.ParentColor 
    
Profile.MsgBox(aMemoInfo) 
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Parent Color can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the memo control in the controls tree > ParentColor.

Version information

Added in v7.8.0