Re: iTunes-like single-click table cell editing
Re: iTunes-like single-click table cell editing
- Subject: Re: iTunes-like single-click table cell editing
- From: Tim Lucas <email@hidden>
- Date: Wed, 19 Jan 2005 13:37:54 +1100
On 19/01/2005, at 11:13 AM, Benjámin Salánki wrote:
now the problem is that my table starts editing right after the first
click of the double click. i tried looking for [theEvent clickCount],
but it turns out mouseDown is called after every click, so when I
NSLog it I get 1 (editing code starts) and 2, which starts the
doubleAction for the table.
do you know how to fix this?
Just found this via google:
http://www.cocoabuilder.com/archive/message/cocoa/2002/8/7/57606
I'm pretty sure finder does a pretty similar thing when you single
click on a label (though it seems to also cancel the rename event on
mouseMoved as well as double click)
- tim lucas
http://www.toolmantim.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden