Re: Hot to move focus to a button?
Re: Hot to move focus to a button?
- Subject: Re: Hot to move focus to a button?
- From: Joanna Carter <email@hidden>
- Date: Sat, 6 Mar 2010 20:51:13 +0000
Hi Jonathan
> I'm trying to move keyboard cursor to a button but NSButton hasn't a setFocus method.
>
> How can I move the keyboard focus to a control?
[window makeFirstResponder:theButton];
Joanna
--
Joanna Carter
Carter Consulting
_______________________________________________
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