Re: Dragging an object

2014-07-13 Thread Richmond
On 13/07/14 02:46, Geoff Canyon wrote: On Fri, Jul 11, 2014 at 12:14 AM, Richmond wrote: on mouseUp set the moveSpeed to 65000 put item 2 of the loc of me into LCK move me to ZZZ, LCK end mouseUp where 'ZZZ' is the fixed lateral location. I've set the moveSpeed way up high so the mov

Re: Dragging an object

2014-07-12 Thread Geoff Canyon
On Thu, Jul 10, 2014 at 7:24 PM, Peter Bogdanoff wrote: > How can I drag it by clicking on one side of this group? local xOff -- the offset for dragging local dragging -- the flag set for dragging on mouseDown put item 1 of the loc of me - item 1 of the mouseLoc into xOff put true into d

Re: Dragging an object

2014-07-12 Thread Geoff Canyon
On Fri, Jul 11, 2014 at 12:14 AM, Richmond wrote: > on mouseUp > set the moveSpeed to 65000 >put item 2 of the loc of me into LCK >move me to ZZZ, LCK > end mouseUp > > where 'ZZZ' is the fixed lateral location. > > I've set the moveSpeed way up high so the movement is not seen. > Apart

Re: Dragging an object

2014-07-10 Thread Richmond
On 11/07/14 03:24, Peter Bogdanoff wrote: I tried using the grab command, but I couldn’t seem to be able to restrict the Y coordinate with that. on mouseDown grab me end mouseDown on mouseUp set the moveSpeed to 65000 put item 2 of the loc of me into LCK move me to ZZZ, LCK en

Re: Dragging an object

2014-07-10 Thread Peter Bogdanoff
YES! I knew I had to get that separation figured out and applied, but the logic was stumping me. Thanks! Peter On Jul 10, 2014, at 7:01 PM, Jim Hurley wrote: >> >> Message: 19 >> Date: Thu, 10 Jul 2014 17:24:16 -0700 >> From: Peter Bogdanoff >> To: How to use LiveCode >> Subject: Dragging

Re: Dragging an object

2014-07-10 Thread Peter Bogdanoff
Thanks, I’ll try it. pb On Jul 10, 2014, at 7:01 PM, Jim Hurley wrote: >> >> Message: 19 >> Date: Thu, 10 Jul 2014 17:24:16 -0700 >> From: Peter Bogdanoff >> To: How to use LiveCode >> Subject: Dragging an object >> Message-ID: <14789523-9af4-4531-83cf-ff60644d1...@me.com> >> Content-Type: t

Re: Dragging an object

2014-07-10 Thread Peter Bogdanoff
That doesn’t seem to be good for my immediate challenge—I’m able to restrict the motion to horizontal OK. It’s getting the control to move smoothly no matter where on it you click. On Jul 10, 2014, at 5:54 PM, Roger Eller wrote: > > On Jul 10, 2014 8:24 PM, "Peter Bogdanoff" wrote: > >> Hi,

Re: Dragging an object

2014-07-10 Thread Jim Hurley
> > Message: 19 > Date: Thu, 10 Jul 2014 17:24:16 -0700 > From: Peter Bogdanoff > To: How to use LiveCode > Subject: Dragging an object > Message-ID: <14789523-9af4-4531-83cf-ff60644d1...@me.com> > Content-Type: text/plain; charset=windows-1252 > > Hi, > > I want to drag an object around (a gr

Re: Dragging an object

2014-07-10 Thread Roger Eller
This really old info from the archives might help. https://www.mail-archive.com/use-revolution%40lists.runrev.com/msg10273.html On Jul 10, 2014 8:24 PM, "Peter Bogdanoff" wrote: > Hi, > > I want to drag an object around (a group), restricting its Y coordinate > (set to be a property, “yLocation