RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGridDataLink.RecordChanged Method

Informs the grid of changes in the current record or field of the DataSource.

Pascal
procedure RecordChanged(Field: TField); override;
C++
virtual __fastcall RecordChanged(TField Field);

Applications cannot call RecordChanged directly. It is called automatically when the contents of the current record change. The Field parameter indicates which field in the current record has changed. If Field is nil (Delphi) or NULL (C++), the entire record has changed. 

RecordChanged informs TCustomDBGrid of these changes so that it can update the display of the affected column or columns. 

 

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