Re: [fpc-pascal] Swopping two items in TCollection

2010-01-16 Thread Wimpie Nortje
Done. http://bugs.freepascal.org/view.php?id=15517 Michael Van Canneyt wrote: Please do, this way we won't forget it. Michael. On Thu, 14 Jan 2010, Wimpie Nortje wrote: Thanks. An exhange() would be usefull. Should I file a bug report? Michael Van Canneyt wrote: On Thu, 14 Jan 2010,

Re: [fpc-pascal] Swopping two items in TCollection

2010-01-14 Thread Michael Van Canneyt
Please do, this way we won't forget it. Michael. On Thu, 14 Jan 2010, Wimpie Nortje wrote: Thanks. An exhange() would be usefull. Should I file a bug report? Michael Van Canneyt wrote: On Thu, 14 Jan 2010, Wimpie Nortje wrote: Hi list I have a class derived from Tcollection, holding

Re: [fpc-pascal] Swopping two items in TCollection

2010-01-14 Thread Wimpie Nortje
Thanks. An exhange() would be usefull. Should I file a bug report? Michael Van Canneyt wrote: On Thu, 14 Jan 2010, Wimpie Nortje wrote: Hi list I have a class derived from Tcollection, holding items derived from TCollectionItem. How do I swop two items in the collection? FItem is of type

Re: [fpc-pascal] Swopping two items in TCollection

2010-01-14 Thread Michael Van Canneyt
On Thu, 14 Jan 2010, Wimpie Nortje wrote: Hi list I have a class derived from Tcollection, holding items derived from TCollectionItem. How do I swop two items in the collection? FItem is of type TList which has an exchange function, but that is private and not accessable to me. You can s