Re: How to set NSTextFieldCell as firstResponder - Solved
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