JVCL Help:IJvDataProvider.ContextDestroying

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

Search in JVCL Help

 
Search in all projects
 

Summary

Called when a context is about to be destroyed.


Pascal

 procedureContextDestroying(Context: IJvDataContext);


Parameters

Parameters Description
Context: IJvDataContext Context about to be destroyed.


Description

ContextDestroying is called whenever a context is about to be destroyed. It's generally used to notify all items a specific context (and all of its child contexts) will be no longer available so context specific data for these items can be destroyed. Usually this will be done by redirecting the call to the root items list (GetItems). In addition ContextDestroying will clean up the selected context stack and nilling any reference to the context and/or any of its child contexts (they are not removed from the stack as a ReleaseContext may follow later).


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