NSTableView, checkbox columns & double clicks
NSTableView, checkbox columns & double clicks
- Subject: NSTableView, checkbox columns & double clicks
- From: Jens Miltner <email@hidden>
- Date: Wed, 11 May 2005 12:41:54 +0200
I have an NSTableView with a checkbox column (i.e. one column has an NSButtonCell as dataCell, which displays and tracks a boolean value using a checkbox).
There seems to be common problem in Cocoa applications that use this setup where double clicks on the checkbox don't toggle the checkbox on the second click. This is regardless of whether the column is marked editable in the Nib or not.
Since other apps behave the same, I assume this is a general problem in Cocoa (most likely the table sending the NSButtonCell the editWithFrame:inView:editor:delegate:event: message, but I don't know).
However, IMHO, this behavior is rather annoying since the user will feel like the checkbox doesn't respond to some of his/her clicks (depending on the double click speed)...
Is there a way to work around this problem?
Thanks,
</jum> _______________________________________________
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