• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTableView, checkbox columns & double clicks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Storing file pathes... what to do if the user move/change them ?
  • Next by Date: Re: NSMetadataItem question.
  • Previous by thread: Re: New ABPerson properties not saved in vCards
  • Next by thread: Slow loading bound NSTableView
  • Index(es):
    • Date
    • Thread