Re: mouseup/mouseDoubleU

2011-02-03 Thread David Glasgow
On 1 Feb 2011, at 11:13 pm, Jacqueline Landman Gay wrote: > Buttons are pretty universally one-click objects. ...except when you are calling a lift (elevator). ;-) Best Wishes, David Glasgow Carlton Glasgow Partnership i-psych.co.uk ___ use-livec

Re: mouseup/mouseDoubleU

2011-02-01 Thread J. Landman Gay
On 2/1/11 4:12 PM, Colin Holgate wrote: On Feb 1, 2011, at 5:05 PM, dunb...@aol.com wrote: But you can if click three times. That can be risky. I ended up in Kansas one time I tried that. LOL! -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software

Re: mouseup/mouseDoubleU

2011-02-01 Thread DunbarX
Well, there is no place like home. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: mouseup/mouseDoubleU

2011-02-01 Thread Colin Holgate
On Feb 1, 2011, at 5:05 PM, dunb...@aol.com wrote: > But you can if click three times. That can be risky. I ended up in Kansas one time I tried that. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, uns

Re: mouseup/mouseDoubleU

2011-02-01 Thread Colin Holgate
On Feb 1, 2011, at 4:58 PM, Peter Haworth wrote: > I didn't try the simple handlers you sent as written. I implemented the wait > in the existing mouseUp and left the mouseDoubleUp code as it was. I set a > breakpoint at the mousedoubleUp handler and it never popped. I don't think I > am ha

Re: mouseup/mouseDoubleU

2011-02-01 Thread DunbarX
Ah, I see. Well if you click once or twice with the wait handler in place, you will never get to the actual mouseDoubleUp handler. But you can if click three times. Craig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this ur

Re: mouseup/mouseDoubleU

2011-02-01 Thread Peter Haworth
I didn't try the simple handlers you sent as written. I implemented the wait in the existing mouseUp and left the mouseDoubleUp code as it was. I set a breakpoint at the mousedoubleUp handler and it never popped. I don't think I am handling mouseDoubleUp anywhere else but I will double click,

Re: mouseup/mouseDoubleU

2011-02-01 Thread J. Landman Gay
On 2/1/11 3:32 PM, Peter Haworth wrote: Agreed, As mentioned in a response I just sent out, I'm not clicking on a button. I don;t think I ever said that but if I did, I apologise for the confusion. Yeah, your explanation made sense. I see now what you're up to. :) -- Jacqueline Landman Gay

Re: mouseup/mouseDoubleU

2011-02-01 Thread DunbarX
Pete. Are you saying that you never get the mouseDoubleUp message? Even with both simple handlers I sent earlier? That is odd. Not being able to isolate the two is one thing, not getting mouseDoubleUp at all is another, and indicates a problem somewhere. I don't suppose you are trapping it some

Re: mouseup/mouseDoubleU

2011-02-01 Thread Peter Haworth
Agreed, As mentioned in a response I just sent out, I'm not clicking on a button. I don;t think I ever said that but if I did, I apologise for the confusion. Pete Haworth On Feb 1, 2011, at 1:16 PM, J. Landman Gay wrote: > Buttons are pretty universally one-click objects. _

Re: mouseup/mouseDoubleU

2011-02-01 Thread Colin Holgate
On Feb 1, 2011, at 4:16 PM, J. Landman Gay wrote: > Richard explained it well. You're right that double-clicks are very common, > especially in lists, but I can't think of any app that allows double clicks > for buttons. Buttons are pretty universally one-click objects. Interestingly, in Flash

Re: mouseup/mouseDoubleU

2011-02-01 Thread J. Landman Gay
On 2/1/11 2:17 PM, Peter Haworth wrote: I have to admit I'm a bit puzzled by the references to double clicks not being part of HIG. I'm sitting here looking at the finder window on my Mac and if I want to open a file or run an application, I have to double click on it. I'm sure there are other

Re: mouseup/mouseDoubleU

2011-02-01 Thread Peter Haworth
Interesting. The problem I have is that the mouseDoubleup never triggers even if I'm within the doubleclick... parameters. And even if it did, it doesn't really help because I still have to write some code in the mouseUp handler to make sure the user didn't double click so the mouseDoubleup me

Re: mouseup/mouseDoubleU

2011-02-01 Thread DunbarX
Jim. Yes, and as Jacques points out, the engine has to send a mouseUp message no matter what. The original intent was to be able to ignore a single click if a double click was in the offing. In other words, to have one and only one of the two, depending on whether one or two clicks was made. I

Re: mouseup/mouseDoubleU

2011-02-01 Thread Jim Lambert
On Feb 1, 2011, at 10:00 AM, Craig wrote: > If you have this in a button script: > > on mouseUp >put "single" >wait 15 >put "" --just to see it work > end mouseup > > on mouseDoubleUp >put "double" >wait 15 >put "" --just to see it work > end mouseDoubleUp > > you can ge