Vcl.DBCtrls.TDBEdit.EditCanModify

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function EditCanModify: Boolean; override;

C++

virtual bool __fastcall EditCanModify(void);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBEdit

Description

Allows or disallows editing of the text depending on whether the dataset is in edit mode.

EditCanModify overrides the inherited method so that the control will only allow edits when the dataset is in edit mode. If the edit control should never allow edits, the ReadOnly property should be set.

Note: EditCanModify is a protected method. Applications cannot call it directly.

See Also