JVCL Help:TDataProviderChangeReason

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Type used to specify the change reason.

run\JvDataProviderIntf.pas


Pascal

 run\JvDataProviderIntf.pas
 TDataProviderChangeReason = (
pcrAdd,
pcrDelete,
pcrUpdateItem,
pcrUpdateItems,
pcrDestroy,
pcrContextAdd,
pcrContextDelete,
pcrContextUpdate,
pcrFullRefresh
);


Members

Members Description
pcrAdd The Source parameter will refer to the IJvDataItems where the item is about to be added to (DataProviderChanging) or refers to the IJvDataItem that has just been added (DataProviderChanged).
pcrDelete The Source parameter will refer to the IJvDataItem that is about to be deleted (DataProviderChanging) or refers to the IJvDataItems where the item has been just removed from (DataProviderChanging). Note that any sub items are implicitly also deleted, but there will be no additional calls to DataProviderChanging/DataProviderChanged for them.
pcrUpdateItem The Source parameter will refer to the IJvDataItem that is about to change or has just changed. In general this change reason means that one of the item's properties is changing, which also includes the properties of support interfaces.
pcrUpdateItems The Source parameter will refer to the IJvDataItems that is about to change or has just changed. In general this change reason means that either the items list is about to be cleared (or has been cleared) or any of the items list support interface's properties is changing (or has changed).
pcrDestroy This reason will only occur in the DataProviderChanging notification.
pcrContextAdd Source refers to the context the new context is added to (or nil if the context is added at the root) or the context that has just been added.
pcrContextDelete Source refers to the context about to be deleted or the context where a context has just been removed from (or nil if a context at the root was deleted).
pcrContextUpdate Source refers to the context changing or changed. It usually signals the context name is changing or has changed.
pcrFullRefresh The consumer should execute a full refresh (changes are made or being made that affect the entire data tree, including tree structure).

run\JvDataProviderIntf.pas


Description

The TDataProviderChangeReason type is used to specify the reason why the ProviderChanging/ProviderChanged methods are called.

run\JvDataProviderIntf.pas


See Also

IJvDataProvider.Changed, IJvDataProvider.Changing, IJvDataProviderNotify

run\JvDataProviderIntf.pas


About

Navigation

no pages or subcategories

run\JvDataProviderIntf.pas



Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page