• 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: Disable return-edit in text cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable return-edit in text cell


  • Subject: Re: Disable return-edit in text cell
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 11 Aug 2010 10:16:21 -0700

On Wed, Aug 11, 2010 at 10:12 AM, email@hidden
<email@hidden> wrote:
> Hello,
>
> I've got a standard NSTableView with text cells. I want the field
> editor to pop up when the user clicks on the cell, but not when
> pressing the return key (which triggers another action). How can I
> accomplish this? I've got a feeling there's a real simple solution,
> but I just cannot find that magic button in IB.

This is discussed in the text view documentation:
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/TextEditing/Tasks/InterceptKeys.html

--Kyle Sluder
_______________________________________________

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: Disable return-edit in text cell
      • From: "email@hidden" <email@hidden>
References: 
 >Disable return-edit in text cell (From: "email@hidden" <email@hidden>)

  • Prev by Date: Disable return-edit in text cell
  • Next by Date: Re: Updating timestamp on save => merge error
  • Previous by thread: Disable return-edit in text cell
  • Next by thread: Re: Disable return-edit in text cell
  • Index(es):
    • Date
    • Thread