[Gambas-user] ListView.Current.MoveFirst() upside down

Tobias Boege taboege at ...626...
Mon Aug 12 20:45:32 CEST 2013


Hi,

attached is a simple project which uses ListView.Current.MoveFirst() to move
the double-clicked item to the top of the ListView.

However, MoveFirst() moves the item to the last position while MoveLast()
moves to the first position.

Am I misunderstanding how ListView thinks about first and last elements? Is
the direction reversed? If so, why?

Regards,
Tobi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: listview-current-movefirst-0.0.1.tar.gz
Type: application/octet-stream
Size: 4765 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20130812/cac4a15d/attachment.obj>


More information about the User mailing list