• 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: Understanding text cell editing behaviour
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Understanding text cell editing behaviour


  • Subject: Re: Understanding text cell editing behaviour
  • From: David Schweinsberg <email@hidden>
  • Date: Tue, 9 Dec 2008 14:07:57 +1100


On 09/12/2008, at 12:34 PM, Jerry Krinock wrote:

The new documentation referred to in this post might help:

http://www.cocoabuilder.com/archive/message/cocoa/2008/11/15/222699


OK, where the documentation says:
> This is done by calling -hitTestForEvent:inRect:ofView: and checking if the cell returns NSCellHitEditableTextArea.


This is how it is implemented, yes? Not what I have to do to make it work?

>This allows you to set a doubleAction and perform some different task when the doubleAction is invoked (for instance, Finder opens files on a double click, and edits via a single click). If the doubleAction is not set, editing is still allowed via a double click.

I have 'doubleAction' set on the 'Outline View Bindings' but it still wants to edit the cell on a double click. Only if I click to one or other side of the text does it perform the 'doubleAction'.

Regards,

David Schweinsberg

_______________________________________________

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


References: 
 >Understanding text cell editing behaviour (From: David Schweinsberg <email@hidden>)
 >Re: Understanding text cell editing behaviour (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Live updating NSPredicateEditorRowTemplate?
  • Next by Date: Programmatically adding an NSTableView to another view
  • Previous by thread: Re: Understanding text cell editing behaviour
  • Next by thread: About NSAppleScriptErrorNumber = -2709
  • Index(es):
    • Date
    • Thread