JVCL Help:TJvBaseDataContexts.DoRemoveContext
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvBaseDataContexts.DoRemoveContext Method
[+] TJvBaseDataContexts Methods
[+] TJvBaseDataContexts Properties
Search in JVCL Help
Search in all projectsSummary
Removes the specified context.
Pascal
procedureDoRemoveContext(Context: IJvDataContext); virtual; abstract;
Parameters
Parameters | Description |
Context: IJvDataContext | Context to remove from the list. |
Description
DoRemoveContext removes the specified context from the list. It might be called by the implementer of IJvDataContextsManager.Delete or by DoDeleteContext, depending on the implementation of the specified methods.
DoRemoveContext should:
- check if the specified context belongs to the list (and do nothing if it isn't).
- check if the context is deletable (and do nothing if it isn't).
- notify clients the context is about to be deleted.
- delete the context from the list.
- notify clients the context has been deleted.
Note that you can implement DoRemoveContext by determining the index in the list of the specified context and call DoDeleteContext.
See Also
TJvBaseDataContexts.DoAddContext, TJvBaseDataContexts.DoClearContexts
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