Hi all,
I was sick of writing Item.Delete, Item.Create etc.. when want to exchange 
items or just move item to another row in list.
I've added TCustomListView.Items.Exchange(index1, index2) and 
TCustomListView.Items.Move(FromIndex, ToIndex). All widgetsets except carbon 
are implemented, so feel free to test it. It's not implemented via Delete() 
and Insert(), but via reassigning ws items, so less overhead.
Lazarus svn trunk r31367 and above is needed.

zeljko
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to