RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldDataLink.EditingChanged Method

Enforces the CanModify property when the field binding changes.

Pascal
procedure EditingChanged; override;
C++
virtual __fastcall EditingChanged();

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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!