I noticed another thing with the ListView control. When you add a new item tehre is an option to specify the Index. Nothing happens when you pass in an Index value. I looked into it, and noticed that you do nothing with the value. I fixed the problem by giving Index an optional default value of -1, and in the add function putting
If Index = -1 Then lIndex = ctl.fCount + 1 Else lIndex = IndexEnd If
|
Fixed. I used IsMissing on the Index parameter and put some error tracking in but otherwise the same. |