[Lazarus] TCustomListView new features

zeljko zeljko at holobit.net
Fri Jun 24 22:25:07 CEST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110624/0e5c8bcd/attachment-0002.html>


More information about the Lazarus mailing list