• 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
Inconsistent "double-click to edit" in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inconsistent "double-click to edit" in NSTableView


  • Subject: Inconsistent "double-click to edit" in NSTableView
  • From: K.Darcy Otto <email@hidden>
  • Date: Wed, 1 Jul 2009 16:57:08 -0700

I have an NSTableView subclass that has a pair of columns that are acting inconsistently when the user double-clicks to begin editing. In the first column, the user can double-click anywhere in the cell to begin editing that cell. In the second column, which is the last column of the table, the following happens: (i) if the cell is blank, the user can click anywhere to begin editing the cell; (ii) if the cell has text, the user must click on the text in the cell to begin editing the cell. Does anybody have an idea what is going on?

It seems to me that a double-click anywhere in the cell (whether there is text or not) should initiate editing. But even if (ii) were the case for both columns, I would be happy. It is the inconsistency that has caused some minor problems during testing.
_______________________________________________


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


  • Prev by Date: Re: [NSImageView setImage:theImage] Thread safe??
  • Next by Date: Table Selection Persists even though Window Closed
  • Previous by thread: Re: Determining OS at Runtime
  • Next by thread: Table Selection Persists even though Window Closed
  • Index(es):
    • Date
    • Thread