Insert a new element at the specified position in the list.

Call:

ts_dialogcontrol(iDialogControlDescr, "InsertItem", int itemindex);


Here:

itemindex - the position at which to insert the new item.