• 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.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set NSTextFieldCell as firstResponder.


  • Subject: Re: How to set NSTextFieldCell as firstResponder.
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 19 Feb 2008 22:18:11 -0800


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


References: 
 >How to set NSTextFieldCell as firstResponder. (From: "Adam Gerson" <email@hidden>)

  • Prev by Date: Re: Core Data Validation Ignored?
  • Next by Date: Re: How to set NSTextFieldCell as firstResponder - Solved
  • Previous by thread: How to set NSTextFieldCell as firstResponder.
  • Next by thread: Re: How to set NSTextFieldCell as firstResponder - Solved
  • Index(es):
    • Date
    • Thread