• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hot to move focus to a button?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Hot to move focus to a button? (From: "Jonathan Chacón" <email@hidden>)

  • Prev by Date: Hot to move focus to a button?
  • Next by Date: reading text rom Pages doc
  • Previous by thread: Hot to move focus to a button?
  • Next by thread: Re: Hot to move focus to a button?
  • Index(es):
    • Date
    • Thread