[archive] Item-To-Delete question

[Migrated content. Thread originally posted on 13 December 2004]

We have a list box with many entries. We allow users to delete items from the box using the Item-To-Delete command. We do this by allowing the user to select a line and answer yes to a message box.

Our issue is after the Item-To-Delete command is used the items in the list after the deleted line are not re-numberd. So if the user selects a line item past where they deleted, it will not give the correct result.

How do I go about re-sequencing the lines after the delete?