Re: Controlling Insertion Point
Re: Controlling Insertion Point
- Subject: Re: Controlling Insertion Point
- From: Bruce Truax <email@hidden>
- Date: Sat, 13 Mar 2004 16:42:32 -0500
On 3/13/04 9:09 AM, "Denis Defreyne" <email@hidden> eloquently wrote:
>
You can use NSWindow's makeFirstResponder: to do something like that.
>
In your window controller, do something like [[self window]
>
makeFirstResponder:myTextView].
>
>
You can also do it with Interface Builder. Make a connection from the
>
window to the text view and connect it to the initiaFirstResponder
>
outlet.
The programmatic way worked. I could not get the Interface builder method
to work. In interface builder the best I could do was to make the overall
window the first responder but there was no obvious way to make one of the
two scroll views a first responder.
Thanks for the help.
Bruce
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.