[SOLVED] Re: NSTextField responder chain question...
[SOLVED] Re: NSTextField responder chain question...
- Subject: [SOLVED] Re: NSTextField responder chain question...
- From: Alex Lock <email@hidden>
- Date: Tue, 7 Oct 2003 20:39:40 -0400
On Tuesday, October 7, 2003, at 06:48 PM, Henry McGilton wrote:
I admit this is flailing in the dark, but, in the view where you get
the key press
(or in its controller), try something like:
[view_or_controller setNextKeyView: gmsgTextField]];
[gmsgTextField selectText:self];
This stuff is supposed to be simple . . .
Best Wishes,
........ Henry
After looking around for quite some time... turns out my outlet (in IB)
had the name "gmsg1TextField"; when I added it to the source by hand
(like I always tend to) I left off the "1".
Turns out I'm glad I asked anyways; the makeFirstResponder doesn't
seem to work, but your method does.
Thanks again!
Alex <email@hidden>
_______________________________________________
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.