RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.OnDataSetStateChange Method

Responds to changes in the associated dataset.

Pascal
procedure OnDataSetStateChange(Sender: TObject); virtual;
C++
virtual __fastcall OnDataSetStateChange(TObject * Sender);

OnDataSetStateChange is called automatically in response to changes in the associated dataset. It allows the adapter to clear any information (such as the set of default fields) that depend on the current state of the dataset. 

Sender is a datalink object that handles the communication between the adapter and its dataset. 

 

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