JVCL Help:TJvBaseDataItems.InternalMove
JVCL Help: TJvBaseDataItems.InternalMove Method
Search in JVCL Help
Search in all projectsSummary
Responsible for moving an item in the list.
Pascal
procedureInternalMove(OldIndex: Integer; NewIndex: Integer); virtual; abstract;
Parameters
Parameters | Description |
OldIndex: Integer | 0-based index of the item to move. |
NewIndex: Integer | 0-based index the item should be moved to. The item at that location and all following items will move up one position. |
Description
InternalMove is responsible for moving an item in the list. The method is declared abstract to allow descendants to determine how to store (and thus move) the item.
InternalMove is called by the ItemMove method when the item can be moved. It doesn't have to notify consumers of the pending move, nor of the completion afterwards. ItemMove will perform those tasks. It is allowed to take additional steps before or after moving 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).
InternalMove should never be called from any other method than ItemMove.
See Also
TJvBaseDataItems.InternalAdd, TJvBaseDataItems.InternalDelete, TJvBaseDataItems.ItemMove
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