ISEdit.ReadOnly

Description

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

Syntax

object.ReadOnly

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

Return Value

bool

Example

Display ReadOnly for the specified edit control.

Dim aEdit
Dim aEditInfo

Set aEdit = Form.Controls_("edtInform")

aEditInfo =_
  "Short Name: " & aEdit.ShortName & vbNewLine &_
  "TypeName: " & aEdit.TypeName & vbNewLine &_   
  "ReadOnly: " & aEdit.ReadOnly
    
Profile.MsgBox(aEditInfo)  
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 edit control in the controls tree > ReadOnly.

Version information

Added in v7.8.0