Jump to content

Handling Key events on Button controls

  • Please log in to reply
No replies to this topic



    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts

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.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy