JVCL Help:IJvDataConsumerServerNotify
JVCL Help: IJvDataConsumerServerNotify Interface
Search in JVCL Help
Search in all projectsClass Hierarchy
IJvDataConsumerServerNotify
TJvDataConsumerServerNotify
run\JvDataProviderIntf.pas
Summary
Data consumer support interface to notify another consumer when the current item changes.
Pascal
run\JvDataProviderIntf.pas
IJvDataConsumerServerNotify = interface;
Description
IJvDataConsumerServerNotify is a consumer support interface that allows other consumers (supporting the IJvDataConsumerClientNotify interface) to be linked and notified if the current item of this consumer changed.
The implementer of this interface is notified when a client consumer changed its provider. You are responsible for checking if the client consumer is still valid and optionally break the link to the client if this is no longer the case. In addition you must keep a record of linked clients and notify them when the selected item changed or the client is removed (either because the client is no longer valid due to a provider change or because the server consumer is destroying).
Linking of consumers can be used (for example) to link a context selection consumer (e.g. a combo box linked to a context provider) to a client consumer and have the context of that consumer updated automatically when the context selection consumer selects a different context. In this scheme, IJvDataConsumerServerNotify is used at the context selection consumer.
See Also
IJvDataConsumer, IJvDataConsumerClientNotify
About
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