ISMemo.ReadOnly

Description

Returns True if the specified memo control is restricted to display only.

Syntax

object.ReadOnly

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

Return Value

bool

Example

Display ReadOnly for the specified memo control.

Dim aMemo
Dim aMemoInfo

Set aMemo = Form.Controls_("memComment")

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

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

Version information

Added in v7.8.0