DataControl.ReadOnly

From Xojo Documentation

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

Supported for all project types and targets.

Set to True to prevent the user from adding, modifying, or deleting records.

When True, the record navigation controls are disabled.


Example

The following turns on ReadOnly.

Me.ReadOnly = True