DataFieldEditMode enumeration
Library: TFORMer9Lib
Defines the edit mode of a DataField.
Controls whether and under which conditions a DataField can be edited by the user in combination with a DataSource. This property is configured in TFORMer Designer to be evaluated by external programs.
Values
| Name | Explicit initializer | Description |
|---|---|---|
DataFieldEditMode_Default | = 0 | No special handling. Uses the default edit behavior defined by the data source. |
DataFieldEditMode_ReadOnly | Not explicit | The DataField is read-only and cannot be edited by the user. |
DataFieldEditMode_Editable | Not explicit | The DataField is always editable by the user, regardless of the data source. |
DataFieldEditMode_EditableIfEmpty | Not explicit | The DataField is editable only if its current value is empty. |
DataFieldEditMode_EditableIfValidationFails | Not explicit | The DataField is editable only if the current value does not satisfy the validation rule. |
DataFieldEditMode_Invalid | Not explicit | Invalid, internal use only. |