Re: Passing focus to a control
Re: Passing focus to a control
- Subject: Re: Passing focus to a control
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 29 Sep 2008 16:58:41 -0600
On Sep 29, 2008, at 2:36 AM, Cocoader wrote:
When I press Cmd-J I get my function called but can't work out how
to get the control to get the focus. I've tried becomeFirstResponder
but nothing happens and no error occurs.
Please help! I'm sure this is an obvious error, but after 3 hours I
still can't get it working for me :-/
The method you're looking for is -[NSWindow makeFirstResponder:], not -
becomeFirstResponder.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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