Jump to content

Handling Key events on Button controls


  • Please log in to reply
No replies to this topic

#1
MacBgnr

MacBgnr

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
Hello,

I have made a simple app with two buttons on it. I have been able to set keyBoard shortcuts for both the buttons using the KeyEquivalent in IB. However, I have not been able to handle Enter Key press event on these buttons.

How can I set focus on second button and get it respond to Enter Key press? How can I set tab order for the two buttons in IB?

Pls suggest.

Cheers
McBgnr





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy