• 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
Re: iTunes-like single-click table cell editing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iTunes-like single-click table cell editing


  • Subject: Re: iTunes-like single-click table cell editing
  • From: Tim Lucas <email@hidden>
  • Date: Wed, 19 Jan 2005 13:37:54 +1100

On 19/01/2005, at 11:13 AM, Benjámin Salánki wrote:
now the problem is that my table starts editing right after the first click of the double click. i tried looking for [theEvent clickCount], but it turns out mouseDown is called after every click, so when I NSLog it I get 1 (editing code starts) and 2, which starts the doubleAction for the table.

do you know how to fix this?

Just found this via google: http://www.cocoabuilder.com/archive/message/cocoa/2002/8/7/57606

I'm pretty sure finder does a pretty similar thing when you single click on a label (though it seems to also cancel the rename event on mouseMoved as well as double click)

- tim lucas

http://www.toolmantim.com

_______________________________________________
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


References: 
 >iTunes-like single-click table cell editing (From: Benjámin Salánki <email@hidden>)
 >Re: iTunes-like single-click table cell editing (From: Camillo Lugaresi <email@hidden>)
 >Re: iTunes-like single-click table cell editing (From: Benjámin Salánki <email@hidden>)

  • Prev by Date: Re: Assigning a custom formatter to a tablecolum in IB
  • Next by Date: Re: NSMatrix Subclassed NSScrollView viewable area width?
  • Previous by thread: Re: iTunes-like single-click table cell editing
  • Next by thread: Re: iTunes-like single-click table cell editing
  • Index(es):
    • Date
    • Thread