Re: NSTextView and nextKeyView
Re: NSTextView and nextKeyView
- Subject: Re: NSTextView and nextKeyView
- From: Doug Brown <email@hidden>
- Date: Mon, 15 Oct 2001 14:32:23 -0700
On Monday, October 15, 2001, at 10:15 AM, Douglas Davidson wrote:
On Sunday, October 14, 2001, at 09:50 AM, Doug Brown wrote:
I have a very simple problem that I'd like to fix. It seems that the
nextKeyView doesn't apply to NSTextView
<snip>
Try
[myTextView setFieldEditor:YES];
and see if that does what you want. It should make an arbitrary
textview act like the field editor that you get when editing a
textfield.
Hi Douglas,
Thank you! This worked! I don't see how I missed that in the NSTextView
documentation. One small problem though - I have to press tab twice to
get the focus to move to the nextResponder. Do you have any idea why it
does this, and how I could possibly fix it? I've checked my connections
in Interface Builder, and everything looks to be ok.
Thanks,
Doug