ComponentOne True DataControl 8.0
ReadOnly Property

Sets/returns whether a field can be modified.

Syntax

Field.ReadOnly = boolean

Remarks

Read/Write at run time and design time. Property applies to Field object.

This property determines whether the field can be modified by the end-user.

The default value is False, which means that the field may be edited.

If set to True, the end-user cannot modify the field, but its value can still be changed in code or by evaluation of a TData control expression.

In data source mode, if a data field is read-only in the data source, its DataSourceReadOnly and ReadOnly properties are set to True and cannot be changed.

For more information, see True DataControl Fields.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback