DesktopTextControl.ReadOnly

From Xojo Documentation

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

New in 2021r3

Supported for all project types and targets.

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

Example

This example is in the Opening event of the control.

Me.ReadOnly = True