Re: Drag List Items Up and Down

2017-02-06 Thread Scott Morrow via use-livecode
tmPanel did crash once but eventually ran for me on Sierra using LC 8.1.2 — Scott Morrow > On Feb 6, 2017, at 11:47 AM, Sannyasin Brahmanathaswami via use-livecode > wrote: > > Thank you all! > > FYI tmpanel.rev crashes 8.1.3 (at least here on Sierra) > > >

Re: Drag List Items Up and Down

2017-02-06 Thread Sannyasin Brahmanathaswami via use-livecode
Thank you all! FYI tmpanel.rev crashes 8.1.3 (at least here on Sierra) On 2/4/17, 11:23 AM, "use-livecode on behalf of AndyP via use-livecode" wrote: Nice addition .. thanks. -

Re: Drag List Items Up and Down

2017-02-04 Thread AndyP via use-livecode
Nice addition .. thanks. - Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode TinyIDE Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple but full featured under cursor

Re: Drag List Items Up and Down

2017-02-04 Thread FlexibleLearning.com via use-livecode
This modification honours the minimum and maximum drag line to avoid the inadvertent insertion of empty lines, and cosmetically works for both list and standard fields... -- Field script on mouseDown put the num of lines of me into tmax # Store drag constraint put word 2 of the clickLine

Re: Drag List Items Up and Down

2017-02-03 Thread Devin Asay via use-livecode
Excellent, Andy! Thanks for sharing this. The only minor, cosmetic change I made was on the next to last line: set the textColor of line tcl of me to empty My hilite color was set to a dark blue, and the black on dark blue was hard to read. Setting it back to empty means that it will go to

Re: Drag List Items Up and Down

2017-02-02 Thread Scott Morrow via use-livecode
Scott Rossi published "Get In Line”, a different sort of solution which involves dragging an img representation of the text line. I liked the added opportunity for visual effect that this method offered. I have used it successfully in several applications including ones in iOS. Scott talks

Re: Drag List Items Up and Down

2017-02-02 Thread Skip Kimpel via use-livecode
Excellent... works like a charm. Thanks for sharing! SKIP On Thu, Feb 2, 2017 at 1:48 PM, AndyP via use-livecode < use-livecode@lists.runrev.com> wrote: > Modified script > added > > /if within (field "myField", the mouseLoc) is true then / > > on mouseDown > >put word 2 of the clickLine

Re: Drag List Items Up and Down

2017-02-02 Thread AndyP via use-livecode
Modified script added /if within (field "myField", the mouseLoc) is true then / on mouseDown put word 2 of the clickLine into tcl set the textcolor of line tcl of me to "red" if line tcl of me is empty then exit mousedown end if put item 2 of the mouseLoc into

Re: Drag List Items Up and Down

2017-02-02 Thread Skip Kimpel via use-livecode
Very nice little script! Question: You can actually drag an item "up" and out of the field and it disappears forever. Any way to avoid this? SKIP KIMPEL On Thu, Feb 2, 2017 at 11:14 AM, AndyP via use-livecode < use-livecode@lists.runrev.com> wrote: > Try this > > Create a scrolling field > >

Re: Drag List Items Up and Down

2017-02-02 Thread AndyP via use-livecode
Try this Create a scrolling field Add a few lines In the field properties *check the Lock text* /it will not work without this/ Add this to the field on mouseDown put word 2 of the clickLine into tcl set the textcolor of line tcl of me to "red" if line tcl of me is empty then