Re: clickCount question
Re: clickCount question
- Subject: Re: clickCount question
- From: Koen van der Drift <email@hidden>
- Date: Mon, 21 Jul 2003 21:20:10 -0400
Please ignore - this was a draft, and I found the error (if
(doubleClickTime = 0.0) should be if (doubleClickTime == 0.0))while
editing the message.
sorry.
- Koen.
On Monday, July 21, 2003, at 08:52 PM, Koen van der Drift wrote:
On Monday, July 21, 2003, at 04:49 PM, James Quick wrote:
Note that this does impose overhead, but not very much.
A message sent on an empty selection cause by a single click arrive
shortly after the double click time passes.
Thanks James,
The delay is no problem. There is another problem, though. I get a lot
of the following errors during runtime:
*** NSTimer ignoring exception 'NSInvalidArgumentException' (reason
'*** -[NSTextField methodSignatureForSelector:]: null selector') that
raised during posting of timer with target 18aacf0 and selector
'(null)'
Using the debugger I figured out that the selector 'takeIntValueFrom'
always is nil, explaining the null selector in the error. Some further
digging revealed that the code inside if (doubleClickTime = 0.0)
{} never gets called, even if doubleClickTime is zero.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.