JVCL Help:TJvBaseDataContexts.DoClearContexts
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvBaseDataContexts.DoClearContexts Method
[+] TJvBaseDataContexts Methods
[+] TJvBaseDataContexts Properties
Search in JVCL Help
Search in all projectsSummary
Clears the context list.
Pascal
procedureDoClearContexts; virtual; abstract;
Description
DoClearContexts clears the list of contexts. It is called by the implementer of IJvDataContextsManager.Clear.
DoClearContexts should only delete deletable contexts, which implies that after a call to DoClearContexts the list isn't necessarily empty. For each context that is removed, the client needs to be notified (both before the deletion as well as after).
The best way to implement this is to iterate the list from the last to the first context and call DoDeleteContext for each of them.
See Also
TJvBaseDataContexts.DoAddContext
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