Re: Can I do something when double click on a button?
Re: Can I do something when double click on a button?
On Wed, Apr 10, 2002 at 01:59:20AM +0200, Ondra Cada wrote:
>
>
If you *do* want that, I guess you'd need to DIY: store the time of each
>
click, and check whether the next click came soon enough (to be considered
>
a doubleclick). In Cocoa, you'd need something like three, perhaps five,
>
ObjC lines for that, I guess.
You should be able to examine the NSEvent's clickCount to see if it is
2.
>
Even so and again I would strongly discommend that.
Agreed.
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
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.