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: JavaScript, Browser Object, VR with Hotspots?

2017-02-02 Thread Mike Bonner via use-livecode
Hmm. NO easy way to see the critical stuff from here but I found this post. https://ggnome.com/forum/viewtopic.php?f=6=9123=35818=custom+function+hotspot#p35818 I think the key is to do similar to what is being done in the post. Basically,pass the value of me.hotspot.id to livecode as part of

Re: JavaScript, Browser Object, VR with Hotspots?

2017-02-02 Thread JOHN PATTEN via use-livecode
Hi All, I managed to trial and error together a working html5 panorama using Pan2VR (http://ggnome.com/pano2vr ). The interface of their software allows you to attach a javascript action to a vr hotspot. The interface creates the following javascript for the hotspot

Android Remote Tester or "A funny thing happened on the way to the VM"

2017-02-02 Thread Ralph DiMola via use-livecode
I got tired of worrying about rebuilding my development environment if a PC failed. When I built my Win 10 PC I wanted to use VMs and have nothing on the host except for the Hyper-V role. I installed all my dev tools including multiple versions of LC on a VM I even got VB6 and the 32 bit DB

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Stephen Barncard via use-livecode
And it was the discussions on this list that led me to update that "clipboard explorer" stack to use that newer property. I'm not sure if I built in backward compatibility to earlier versions than 7 or 8. On Thu, Feb 2, 2017 at 11:34 AM, Richard Gaskin via use-livecode <

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Richard Gaskin via use-livecode
Earlier this morning I wrote in reply to Mark Waddingham: > My question arose because a forum user found an interesting > workaround for making backgroundColor in text pastable into other > applications - this post gets to the meat (the thread as a whole > is long): >

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: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Richard Gaskin via use-livecode
Mark Waddingham wrote: > On 2017-02-02 01:46, Richard Gaskin via use-livecode wrote: >> What is the difference between "LiveCode HTML text" and "LiveCode >> HTML format"? > > Nothing - they are the same format in that context (the > clipboardData). > However, > you should use 'htmlText' and

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

Re: Dirty HTTP Launch

2017-02-02 Thread Bob Sneidar via use-livecode
err... that are white spaces that is. Bob S On Feb 2, 2017, at 07:41 , Bob Sneidar > wrote: Actually it works to take out any number of beginning and ending characters. Bob S ___

Re: Dirty HTTP Launch

2017-02-02 Thread Bob Sneidar via use-livecode
Actually it works to take out any number of beginning and ending characters. Bob S On Feb 1, 2017, at 18:10 , Tom Glod via use-livecode > wrote: scratch that...bob's solution works and isn't likley to do anything ever except

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Bob Sneidar via use-livecode
THAT is a revelation! Bob S On Feb 2, 2017, at 24:28 , Mark Waddingham via use-livecode > wrote: The difference comes about when you use 'the fullClipboardData'. The fullClipboardData gives you access both to the engine's

Re: Auto scrolling a locked field when mouse comes to edge

2017-02-02 Thread Bob Sneidar via use-livecode
I have a similar issue where I want to be able to select text in a field with traversalOn set to false. I can select the text, but I cannot copy it. It's as though the engine cannot discern there is a selection. Bob S On Feb 1, 2017, at 17:38 , David Epstein via use-livecode

Drag List Items Up and Down

2017-02-02 Thread Sannyasin Brahmanathaswami via use-livecode
There is a near universal behavior on mobile, varying flavors of color and style but the UX is almost the same everywhere whether it is your contacts, book marks in Safari, or songs on play lists in Spotify. you have a list like this, after each item the common icon is often 2 horizontal bars,

Re: Using a variable for an array name

2017-02-02 Thread Sannyasin Brahmanathaswami via use-livecode
Peter: FYI multi-dimensional arrays are awesome. I use to be "scared" of them, but in RevIgniter we have all kinds of things like galleriaShow["options"]["width"]["805] and even more… so I had go understand it. And, on top of this you can have an array "inside" a key/value (where the value

Re: Yertle the Turtle

2017-02-02 Thread Jim Hurley via use-livecode
I had been promoting Turtle Graphics in RR/LC for many years. Here are 4 implementation of Turtle Graphics in LC: http://jamesphurley.com/Revolution.html Jim > > Message: 19 > Date: Mon, 30 Jan 2017 22:20:10 +0200 > From: Richmond Mathewson

Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-02 Thread Tiemo Hollmann TB via use-livecode
Hello, I have a standard scrolling list field with multiple lines of text. I copy the text by: *set the clipboarddata["text"] to fld "List"* The User now can past the text into MS Excel on Windows. With LC 6 the text was pasted into Excel line by line, as it showed up in LC. In LC 8.1.2 the

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Mark Waddingham via use-livecode
On 2017-02-02 01:46, Richard Gaskin via use-livecode wrote: The Dictionary entry for clipboardData lists these among the array keys: - htmlText: LiveCode HTML text - html: styled text in LiveCode HTML format That dictionary entry could do with a little refinement :) What is the difference