Jump to content

Handling Key events on Button controls


1 post in this topic

Recommended 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

Link to comment
Share on other sites

 Share

×
×
  • Create New...