Re: repositioning list-field lines

2012-03-02 Thread Bob Sneidar
No, the selectionChanged handler is my own. But remember I have to click in the field to change the selected line (I have behave as list enabled) and if the field gets the mouseDown message but NOT the mouseUp message, well you can see that a dragdrop operation will be initiated but never stoppe

Re: repositioning list-field lines

2012-03-01 Thread Nicolas Cueto
Bob, Perhaps your have a different (older?) version of Scott Rossi's "getinline"? Cause in the one Scott kindly linked to in this thread, there was no selectionChanged handler. Actually, I'm also not clear on what you meant by the second sentence in the following: > Apparently the field was rec

Re: repositioning list-field lines

2012-03-01 Thread Bob Sneidar
I used Scott's GetInLine. It's really nice visually. I did have a problem sometimes though where if I passed over the field it triggered the drag. I noticed that the condition was triggered when clicking a line to change the selected line. Apparently the field was receiving the mouseDown message

Re: repositioning list-field lines

2012-03-01 Thread André Bisseret
Bonjour Nicolas, create a small one line field named "temp" and put the following in the script of your field. Sorry for the comments in French Best regards from Grenoble André -- -- LE SCRIPT DE DRAG DROP ENTRE 2 FIELDS d'Éric CHATONET, MODIFIÉ POUR UN SEUL local lLineNo,tLaLigne,tStyl

Re: repositioning list-field lines

2012-03-01 Thread Scott Rossi
Another option: http://tactilemedia.com/site_files/downloads/getinline.rev.zip Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Nicolas Cueto wrote: > I was wondering if anyone had pointers on how to enable a user to > reposition lines within a listfield. More specif

Re: repositioning list-field lines

2012-03-01 Thread Mark Schonewille
Hi Nicolas, I have one in the private section of my website, accessible after donating http://qery.us/1u4 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download

Re: repositioning list-field lines

2012-03-01 Thread Bjoernke von Gierke
i just did this a few days back. There are more elegant solutions like using a second field to move around, but this works for me. If you change the textSize to a non-default value, you might need to adjust some parts of the offset calculation at the start. on mouseDown --preparation of data

repositioning list-field lines

2012-03-01 Thread Nicolas Cueto
Hello, I was wondering if anyone had pointers on how to enable a user to reposition lines within a listfield. More specifically, a user would "press" on a line and drag it within the listfield to a different position. To reorder the lines, for example. Hoping to not have to reinvent the wheel on