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