Vcl.DBGrids.TGridDataLink.ActiveChanged
Delphi
procedure ActiveChanged; override;
C++
virtual void __fastcall ActiveChanged();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.DbGrids.pas Vcl.DBGrids.hpp |
Vcl.DBGrids | TGridDataLink |
Description
Informs the TCustomDBGrid of changes in the Active property.
Applications cannot call the ActiveChanged procedure directly. Changes in the Active property trigger this procedure. When the dataset becomes inactive, ActiveChanged makes sure that the grid is not in edit mode. When the dataset becomes active, ActiveChanged makes sure that the grid does not contain references to fields that are no longer in the dataset, and that the grid does is not scrolled inappropriately.