RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGridDataLink.ActiveChanged Method

Informs the TCustomDBGrid of changes in the Active property.

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

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!