• 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
[Q] doubleAction on a NSTableView misbehaving?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q] doubleAction on a NSTableView misbehaving?


  • Subject: [Q] doubleAction on a NSTableView misbehaving?
  • From: Eric Gorr <email@hidden>
  • Date: Thu, 2 Apr 2009 14:11:07 -0400

The documentation for setDoubleAction on a NSTableView states:

     If the double-clicked cell is editable, this message isn’t sent
     and the cell is edited instead.

However, the behavior I am seeing is that although my double-clicked cell is editable (tableView:shouldEditTableColumn:row: does return YES), the selector I passed to setDoubleAction is called when I double click on the cell.

I can only edit the cell if I first click on the cell, pause for about 1 second, and click again.

The fact that a double-click on an editable cell doesn't start an edit when doubleAction has been assigned looks like a bug to me or the documentation is wrong or I have misinterpreted something.

Anyone care to comment?


Yes, if I don't assign something to doubleAction and double click the cell, I can edit.





_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: [Q] doubleAction on a NSTableView misbehaving?
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Looking for [NSNumber numberWithString:]
  • Next by Date: Re: [Q] doubleAction on a NSTableView misbehaving?
  • Previous by thread: Re: Disabling Highlighting of Row Selection in NSTableView
  • Next by thread: Re: [Q] doubleAction on a NSTableView misbehaving?
  • Index(es):
    • Date
    • Thread