How to reorder lines in a list field

André Bisseret andre.bisseret at wanadoo.fr
Sun Oct 31 04:45:11 EDT 2010


Le 30 oct. 10 à 15:39, Jacques Hausser a écrit :

>
> Bonjour,
>
> Eric Chatonet also published a "how to" that does exactly what you  
> want:
>
> http://www.sosmartsoftware.com/?r=telecharger&l=en&arch=tutorials//List%20reorganizing.rev.zip
>
> Good luck
>
> Jacques

En effet ! exactement ce que je cherchais ;-))
I had not find this one!

I had written a similar solution which works on a test stack, but does  
not work on the stack of my app.
I got the same problem with the script of Éric (works well on a stack  
without any other script, does not work in my app.)

So, now I am sure I have handlers in the app. which interfere with  
this kind of solution. I am looking for (and will find) them.

Merci beaucoup Jacques

André

>
> Le 30 oct. 2010 à 15:18, André Bisseret a écrit :
>
>> Bonjour,
>>
>> I am trying to get a list field where it would be possible to  
>> reorder the lines.
>> (is there somewhere any tutorial or any solution on this?)
>>
>> I started from a script from Éric Chatonet that allow moving lines  
>> from field1 to field2, modifying it to drag lines in one field only.
>>
>> I succeeded in a test stack:  in a list field, all works as  
>> expected with a dragImage).
>>
>> My problem is that when I put exactly the same script in a field of  
>> an app. I am developing, it does not works any more:
>> The dragged line is deleted when releasing the mouse (except if I  
>> drag outside the field and then back in it: then that works!!!!
>>
>> I am fighting with that for hours now, and can't find what is wrong.
>>
>> My last surprise is that if I don't create (set) any dragImage,  
>> then all works as expected.
>>
>> I am getting crazy
>> The worst thing is that the same script works well in a field on my  
>> test stack and not on the field on my other stack (the two fields  
>> have exactly the same properties).
>>
>> Any idea on what could be wrong?
>>
>> Thanks a lot in advance
>>
>> Best regards from Grenoble
>>
>> André
>>
>>
>>
>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> ******************************************
> Prof. Jacques Hausser
> Department of Ecology and Evolution
> Biophore / Sorge
> University of Lausanne
> CH 1015 Lausanne
> please use my private address:
> 6 route de Burtigny
> CH-1269 Bassins
> tel/fax: 	++ 41 22 366 19 40
> mobile:	++ 41 79 757 05 24
> E-Mail:	jacques.hausser at unil.ch
> *******************************************
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> ---------------------------------------------------------------------------------------
> Orange vous informe que cet  e-mail a ete controle par l'anti-virus  
> mail.
> Aucun virus connu a ce jour par nos services n'a ete detecte.
>
>






More information about the use-livecode mailing list