EControl Syntax Editor SDK
TMacroRecord.Delete Method

Removes the event at the position given by the Index parameter.

procedure Delete(Index: integer);

Call Delete to remove the item at a specific position from the Events list. The Index is zero-based, so the first item has an Index value of 0, the second item has an Index value of 1, and so on. Calling Delete moves up all items in the Items array that follow the deleted item, and reduces the Count property.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!