Re: mouseup/mouseDoubleUp

2011-02-03 Thread Richard Gaskin
David Glasgow wrote: > 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). But some of those buttons have no code behind them:

Re: mouseup/mouseDoubleUp

2011-02-01 Thread Richard Gaskin
Peter Haworth wrote: > I can accept that the first click generates a mouseUp message but > the second click within the doubleUpInterval should generate a > mouseDoubleUp shouldn't it? That's what I consider to be a bug. HyperCard (and apparently Flash in its default setup - interesting note, Co

Re: mouseup/mouseDoubleUp

2011-02-01 Thread Peter Haworth
Thanks for your thoughts Richard. Couple of points to be made. I am not clicking or double clicking on a button, I am clicking on the header of a datagrid. Furthermore, I'm looking for right clicks since a left click on a datagrid header sorts the datagrid by the clicked column and I want to r

Re: mouseup/mouseDoubleUp

2011-02-01 Thread DunbarX
Colin. I think we need to re-examine the ultimate question. Craig ___ 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/list

Re: mouseup/mouseDoubleUp

2011-02-01 Thread Colin Holgate
On Feb 1, 2011, at 3:23 PM, dunb...@aol.com wrote: > So it was identical except for where it was different? Functionally it was identical. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe an

Re: mouseup/mouseDoubleUp

2011-02-01 Thread Richard Gaskin
Peter Haworth wrote: > I have to respectfully disagree that this isn't a bug. The > mouseDoubleUp message never happens in these circumstances, > at least in my application, that's the bug. Even if it did, > what's the point of having a mousedoubleup message if I have > to handle it by extra co

Re: mouseup/mouseDoubleUp

2011-02-01 Thread DunbarX
Colin. So it was identical except for where it was different? Lovingly, Craig ___ 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

Re: mouseup/mouseDoubleUp

2011-02-01 Thread Colin Holgate
On Feb 1, 2011, at 2:46 PM, dunb...@aol.com wrote: > I don't know. I couldn't follow it. My script was identical to yours, other than I used a longer wait time, and I also had the mouseDoubleUp in there to prove that it didn't get triggered. ___ us

Re: mouseup/mouseDoubleUp

2011-02-01 Thread DunbarX
I don't know. I couldn't follow it. In a message dated 2/1/11 2:42:18 PM, co...@verizon.net writes: > > Was it remotely close to being useful? > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscri

Re: mouseup/mouseDoubleUp

2011-02-01 Thread Colin Holgate
On Feb 1, 2011, at 2:30 PM, dunb...@aol.com wrote: > Only Colin could comment, and provide a script, on a topic he has not > followed. Was it remotely close to being useful? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit t

Re: mouseup/mouseDoubleUp

2011-02-01 Thread Peter Haworth
I did implement Craig's suggestion and it works fine. I have to respectfully disagree that this isn't a bug. The mouseDoubleUp message never happens in these circumstances, at least in my application, that's the bug. Even if it did, what's the point of having a mousedoubleup message if I have

Re: mouseup/mouseDoubleUp

2011-02-01 Thread DunbarX
Only Colin could comment, and provide a script, on a topic he has not followed. ___ 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

Re: mouseup/mouseDoubleUp

2011-02-01 Thread Peter Haworth
There was a pass mouseUp in the mouseUp handler. I took that out but the mouseDoubleup handler still didn't pop. Pete Haworth On Feb 1, 2011, at 11:00 AM, dunb...@aol.com wrote: > Pete, > > So you did not get any sort of "pass mouseUp" to work? Only the old > fashioned way? > > I tried, aga

Re: mouseup/mouseDoubleUp

2011-02-01 Thread J. Landman Gay
On 2/1/11 11:32 AM, Peter Haworth wrote: I have submitted a bug report for this. If you want to vote, it's number 9366. There are a couple of duplicates, some quite old, so not sure what the chanxes are of it getting fixed. It isn't a bug, though it may not be what you want. A mouseclick wil

Re: mouseup/mouseDoubleUp

2011-02-01 Thread Colin Holgate
I haven't been following this topic, but here's the approach I would use for telling single and double clicks in Hypercard (plus a mouseDoubleUp check to see that it didn't get through: on mouseUp wait 20 if the mouseclick then put "double click" && the ticks else put "singl

Re: mouseup/mouseDoubleUp

2011-02-01 Thread DunbarX
Pete, So you did not get any sort of "pass mouseUp" to work? Only the old fashioned way? I tried, again, (because even 20 years ago I struggled with this in HC) to play with the doubelClickSpeed. To no avail. Anyone else Craig ___ use-livecode mail

Re: mouseup/mouseDoubleUp

2011-02-01 Thread Peter Haworth
I just implemented the wit technique in the mouseUp handler and so far that appears to work consistently without any unwanted side effects. Thanks for the help. Pete Haworth On Feb 1, 2011, at 9:05 AM, dunb...@aol.com wrote: > Pete. > > Does whatever you did work? > > Craig > > > Thanks.

Re: mouseup/mouseDoubleUp

2011-02-01 Thread DunbarX
I have weaned myself off of "wait" as well. But in this very special instance, where the wait command is only implemented when you absolutely know the user has his hand on the mouse and his finger on a button, it should not cause any undue delay or harm. That said, if for some reason you "send"

Re: mouseup/mouseDoubleUp

2011-02-01 Thread Björnke von Gierke
oh that's understandable... I never use wait, because it messes up messages. On 1 Feb 2011, at 17:42, dunb...@aol.com wrote: > This might need a new thread title. > > If you have this in a button script: > > on mouseUp >put "single" >wait 15 >put "" --just to see it work > end mou

Re: mouseup/mouseDoubleUp

2011-02-01 Thread Peter Haworth
Hi Craig, Just about to start trying the various suggestions. Pete Haworth http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Feb 1, 2011, at 9:05 AM, dunb...@aol.com wrote: > Pete. > > Does whatever you did work? > > C

Re: mouseup/mouseDoubleUp

2011-02-01 Thread Peter Haworth
The dictionary talks about a couple of properties that affect double click, doubleclickinterval and doubleclickdelta. If the two mouse click happen in less time than is specified in doubleclickinterval and the mouse isn't moved more than the number of pixels defined in doubleclickdelta, a mouse

Re: mouseup/mouseDoubleUp

2011-02-01 Thread DunbarX
Pete. Does whatever you did work? Craig Thanks.  mouseUp is passed right now. Pete Haworth ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://l

mouseup/mouseDoubleUp

2011-02-01 Thread DunbarX
This might need a new thread title. 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 get all sorts of behaviors if yo