RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterControlGroup.AdapterChange Method

Responds when the adapter associated with this control group changes.

Pascal
procedure AdapterChange; virtual;
C++
virtual __fastcall AdapterChange();

AdapterChange is called automatically when the value of the Adapter property changes, or when the application makes changes to the adapter that is the value of the Adapter property. 

AdapterChange performs the following tasks to respond to the change: 

Updates the list of default adapter display field components that is the value of VisibleFields when you have not explicitly assigned child Web items. 

Notifies all of the child Web items listed in the WebFieldControls property that the adapter has changed. 

Notifies any objects that registered interest by calling the AddNotify method that the adapter has changed. 

 

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