JVCL Help:TJvBaseDataContexts.DoDeleteContext
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvBaseDataContexts.DoDeleteContext Method
[+] TJvBaseDataContexts Methods
[+] TJvBaseDataContexts Properties
Search in JVCL Help
Search in all projectsSummary
Deletes the specified context.
Pascal
procedureDoDeleteContext(Index: Integer); virtual; abstract;
Parameters
Parameters | Description |
Index: Integer | Index of the context to delete. |
Description
DoDeleteContext deletes the context at the specified index. It might be called by the implementer of IJvDataContextsManager.Delete or by DoRemoveContext, depending on the implementation of the specified methods. In addition it can be called by DoClearContexts to delete all contexts.
DoDeleteContext should:
- 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 DoDeleteContext by retrieving the context and call DoRemoveContext.
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