Re: Message order of mouseUp and mouseDoubleUp

2012-06-04 Thread dunbarx
Training? My brain would fry. This could be implemented, but I would rather handle it the old fashioned way. Craig Newman -Original Message- From: Peter Haworth To: How to use LiveCode Sent: Mon, Jun 4, 2012 4:05 pm Subject: Re: Message order of mouseUp and mouseDoubleUp I ran

Re: Message order of mouseUp and mouseDoubleUp

2012-06-04 Thread Peter Haworth
I ran into this mouseUp/DOubleUp issue a year or so ago, in fact I think one of the links to the archives was to the discussion that started. I'm wondering if there might be an opportunity here to experiment with something that is now commonplace on iThings/Androids and that is the "long press".

Re: Message order of mouseUp and mouseDoubleUp

2012-06-04 Thread Bill Vlahos
It fits the content. When you drag it you can't always know what the "right" size is. Bill Sent from my iPhone On Jun 4, 2012, at 10:41 AM, Richard Gaskin wrote: > Bill Vlahos wrote: > > After just checking the way Excel does it I had it wrong. > > If you double-click on the column divider it

Re: Message order of mouseUp and mouseDoubleUp

2012-06-04 Thread Richard Gaskin
Bill Vlahos wrote: > After just checking the way Excel does it I had it wrong. > If you double-click on the column divider it resizes the column. > I can implement that. It's been many years since I've used Excel, but when I did I resized columns by just dragging the column divider to the desire

Re: Message order of mouseUp and mouseDoubleUp

2012-06-04 Thread Bill Vlahos
Bob, In the just released beta of lcTaskList I have an action that if the user clicks on the header it does a sort by that column. If they double-click on the header then I want it to auto-resize the column like you can do in Excel. The problem is that there are both mouseUp and mouseDoubleUp h

Re: Message order of mouseUp and mouseDoubleUp

2012-06-04 Thread dunbarx
riginal Message- From: Bob Sneidar To: How to use LiveCode Sent: Mon, Jun 4, 2012 12:35 pm Subject: Re: Message order of mouseUp and mouseDoubleUp Are you handling MouseUp somewhere else in the message path? If not, then just let it pass. Bob On Jun 3, 2012, at 7:40 PM, Bill Vlahos wrot

Re: Message order of mouseUp and mouseDoubleUp

2012-06-04 Thread Bob Sneidar
Are you handling MouseUp somewhere else in the message path? If not, then just let it pass. Bob On Jun 3, 2012, at 7:40 PM, Bill Vlahos wrote: > I have a button that has handlers for mouseUp and mouseDoubleUp. If the user > double clicks the button the mouseUp always gets handled before the

Re: Message order of mouseUp and mouseDoubleUp

2012-06-04 Thread Ken Ray
> on mouseUp > wait 20 If you're going to wait, I would suggest not using a hard-coded constant but instead use the 'doubleClickInterval' global property (as in "wait the doubleClickInterval milliseconds"), as it gets the time based on the user's OS settings for double-click speed. >> I have

Re: Message order of mouseUp and mouseDoubleUp

2012-06-03 Thread Richard Gaskin
Mike Bonner wrote: > Check this thread. > http://forums.runrev.com/viewtopic.php?f=7&t=8969&p=43101&hilit=mouseup+mousedoubleup#p43101 The links in the last post there may be helpful as well. There's a reason it's difficult to find any apps that implement two different actions for a single object

Re: Message order of mouseUp and mouseDoubleUp

2012-06-03 Thread Mike Bonner
Check this thread. http://forums.runrev.com/viewtopic.php?f=7&t=8969&p=43101&hilit=mouseup+mousedoubleup#p43101 Specifically this code: on mouseUp wait 20 if the mouseClick then beep 2 --doubleclickstuff else beep 1 --singleclickstuff end if end mouseUp On Sun, Jun 3, 2

Message order of mouseUp and mouseDoubleUp

2012-06-03 Thread Bill Vlahos
I have a button that has handlers for mouseUp and mouseDoubleUp. If the user double clicks the button the mouseUp always gets handled before the mouseDoubleUp. How can I prevent that? If the user double clicks I only want the mouseDoubleUp message to be sent or at least be sent before the mouse