EControl Syntax Editor SDK
TecMacroRecorder.DeleteMacro Method

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

procedure DeleteMacro(Index: integer);

Call DeleteMacro to remove the macro at a specific position from the Macros 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 DeleteMacro moves up all items in the Macros 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!