TextEdit.ReadOnly

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aTextEdit.ReadOnly = newBooleanValue
or
BooleanValue = aTextEdit.ReadOnly

Supported for all project types and targets.

If True, the text of the control cannot be modified.

Example

This example is in the Open event of the control.

Me.ReadOnly = True