RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDefaultFieldsAdapter.DefaultWebComponentsChange Method

Notifies other components of changes to the list of default actions or fields.

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

The list of default fields or actions may be based on properties of the adapter or properties of other components. For example, the default fields of TDataSetAdapter are based on the fields in the dataset. If the TDataSetAdapter references a different dataset then the default fields list will change. If the dataset's field list changes then TDataSetAdapter's default fields will change. DefaultWebCompoentsChange is called in these circumstances so that components that are using this adapter can be notified of changes to the list of fields or actions. DefaultWebComponentsChange calls NotifyAdapterChange

 

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