On 18/09/2008 Fabien Bodard wrote: > Easy no ? but you need to store the value of the deleted row for the > move.
That's another way, but I should test if it make difficulties when trying to swap item 0 with the previous :-) I think that (for my use, a small list of different items) the best thing is to build an array when selecting an item and check what position has the selected item text: with this, I can enable or disable appropriate buttons. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user