Jump to content
InsanelyMac Forum
Sign in to follow this  

Handling Key events on Button controls

Recommended 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.




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.