JVCL Help:TJvDataItemsList.InternalDelete@Integer

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

Search in JVCL Help

 
Search in all projects
 

Summary

Responsible for deleting an item from the list.


Pascal

 procedureInternalDelete(Index: Integer); override;


Parameters

Parameters Description
Index: Integer 0-based index of the item to remove.


Description

InternalDelete is responsible for removing an item from the list. The method is declared abstract to allow descendants to determine how to store (and thus delete) the item. InternalDelete is called by the ItemDelete method when the item can be deleted. It doesn't have to notify consumers of the pending deletion, nor of the completion afterwards. ItemDelete will perform those tasks. It is allowed to take additional steps before or after deleting if so required (e.g. context specific lists may need to copy the list from the ancestor context first, before a change can be made). InternalDelete should never be called from any other method than ItemDelete.


See Also

TJvBaseDataItems.InternalAdd, TJvBaseDataItems.InternalMove, TJvBaseDataItems.ItemDelete


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