[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'DBCtrls' (#lcl)

# TDBEdit.EditCanModify

Indicates if the control can modify the text for the control value.

## Declaration

Source position: dbctrls.pp line 198

`protected function TDBEdit.EditCanModify: Boolean; override;`

## Function result

True when the control can modify the value for the field in the linked dataset.

## Description

EditCanModify is an overridden Boolean function in TDBEdit. The return value contains the value for the CanModify property in the TFieldDataLink instance in the control.

Remark: | EditCanModify does NOT call the inherited method which always returns True. In addition, it is provided to maintain Delphi code compatibility; it is not referenced directly by any methods in the implementation of the control or its descendants.

## See also

TFieldDataLink.CanModify |  | True if the linked field is capable of being modified.
TCustomMaskEdit.EditCanModify |  | If True, the Edit box is allowed to modify its contents.