How to press a button with the enter key
I have simple question. How do you press a button with your enter key?
I have a login screen, where I can just log开发者_如何学编程in with a button. But I also want to login when pressing the enter button.
How should I do this?
Thanks in advance!
Jasper
Set the button's Default property to True
from Object Inspector.
精彩评论