• 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: How to set NSTextFieldCell as firstResponder - Solved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set NSTextFieldCell as firstResponder - Solved


  • Subject: Re: How to set NSTextFieldCell as firstResponder - Solved
  • From: "Adam Gerson" <email@hidden>
  • Date: Wed, 20 Feb 2008 01:25:23 -0500

Yes, thank you Quincey. I was clearly making the solution more
difficult then it had to be.

Adam


On 2/20/08, Quincey Morris <email@hidden> wrote:
>
> On Feb 19, 2008, at 21:57, Adam Gerson wrote:
>
> > The short question is how do I set an NSTableColumn's NSTextFieldCell
> > as firstResponder.
>
> You don't. Neither the text cell nor the text field are responsible
> for actual editing. Instead, the table view uses the window's field
> editor. See the documentation for -[NSWindow fieldEditor:forObject:]
> if you want to know how this works.
>
> However, I think what you're actually looking for in this case is -
> [NSTableView editColumn:row:withEvent:select:], which sets up the
> field editor for you.
>
> _______________________________________________
>
> 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
>
_______________________________________________

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: How to set NSTextFieldCell as firstResponder.
  • Next by Date: Re: Core Data Validation Ignored?
  • Previous by thread: Re: How to set NSTextFieldCell as firstResponder.
  • Next by thread: Auto Completing Text Field
  • Index(es):
    • Date
    • Thread