> For example:
> I add OBJ1 - this works fine.
> When I add OBJ2 - it first adds OBJ1 and then adds OBJ2
> When I add OBJ3 - first it adds OBJ1 then OBJ2 the OBJ3.
I don't get it, if you did not remove obj1 from the collection before adding
obj2, the behavior is expected, same with the third case. Anyways, it is
always better to see a snippet than commenting using induction...
Adam Dockter - 11 Jan 2005 21:44 GMT
Sorry for the vague question:
I did end up figuring out the solution how ever. What I didn't know was
that the designer calls Clear on you collection each time you add an new
object and then adds all the objects again. My problem was occuring because
I did not properly implement Clear and then It kept adding duplicates to my
collection.
Thanks for the help.
> > For example:
> > I add OBJ1 - this works fine.
[quoted text clipped - 4 lines]
> obj2, the behavior is expected, same with the third case. Anyways, it is
> always better to see a snippet than commenting using induction...