"readOnly";

The attribute "readOnly"; sets a textEdit document to read only.

Synopsis

shape.readOnly(bool m);

Parameter

Parameter Description
shape Name of the object
m

The mode:

TRUE = Read only (not editable)

FALSE = Editable

Description

The attribute "readOnly" sets a textEdit document to read only.

Example

The following example sets a textEdit document to read only.

main(bool enter)
{
  this.readOnly(TRUE);
}

Assignment

TextEdit