JVCL Help:DP ReleaseConsumerContext
JVCL Help: DP_ReleaseConsumerContext procedure
Search in JVCL Help
Search in all projectsSummary
Deselects the current consumer and context, reselecting any previous selected consumer and context.
Pascal
run\JvDataProvider.pas
procedureDP_ReleaseConsumerContext(Provider: IJvDataProvider);
Parameters
Parameters | Description |
Provider: IJvDataProvider | Reference to the IJvDataProvider to select a new consumer and context for. |
Description
DP_ReleaseConsumerContext deselects the currently active consumer and context pair, reactivating the consumer and context pair that was active before it.
This routine in combination with DP_SelectConsumerContext allows the selection/deselection of a consumer and it's active context to be performed atomically. If one of the deselection actions fails, the other will be reverted automatically.
Most consumers will use this routine to deselect itself and it's associated context from the provider when they no longer need access to the provider.
See Also
DP_SelectConsumerContext, IJvDataProvider.ReleaseConsumer, IJvDataProvider.ReleaseContext
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