WebTextField.ReadOnly

From Xojo Documentation

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

New in 2010r5

Supported for all project types and targets.

If True, the WebTextField is read-only. The default is False.

Example

Set the field to read-only:

Me.ReadOnly = True