• 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
Single-click NSTableView edit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Single-click NSTableView edit


  • Subject: Single-click NSTableView edit
  • From: "Shoaib" <email@hidden>
  • Date: Mon, 05 Sep 2005 20:38:25 GMT

I've gotten the single-click to edit a row in a NSTableView by using a timer in mouseDown: which fires after a certain delay. The timer is canceled if the user double-clicks.

However, if I'm editing a row and click outside the "editing" region in the row, like the image (I'm using ImageTextCell to display an image and text for each row), editing is completed but then starts again after the delay.

How can I detect that a row was just edited so I don't start editing again?

The topic of single-click edit has been discussed on this list before, but not this issue in particular.

If anyone has any ideas, please share.
_______________________________________________
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: Automatic checking for program updates
  • Next by Date: Class-Within-Class and Archiving
  • Previous by thread: Re: Programatically create URLs in NSTextView or ??
  • Next by thread: Class-Within-Class and Archiving
  • Index(es):
    • Date
    • Thread