Vcl.DBCtrls.TFieldDataLink.EditingChanged

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure EditingChanged; override;

C++

virtual void __fastcall EditingChanged();

Properties

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

Description

Enforces the CanModify property when the field binding changes.

Changing the field binding can change the validity of the CanModify property, since individual field components can disallow edits. If TFieldDataLink is in an editing state when the Field property is changed, EditingChanged checks the CanModify property. If CanModify is false, it changes back out of the editing state.

Note: This differs significantly from theinherited EditingChanged method of TDataLink. The functionality of the inherited method is replaced in TFieldDataLink by the OnEditingChange event handler.

See Also