Reputation: 313
I have simple question. How do you press a button with your enter key?
I have a login screen, where I can just login with a button. But I also want to login when pressing the enter button.
How should I do this?
Thanks in advance!
Jasper
Upvotes: 12
Views: 11930
Reputation: 25678
Set the button's Default property to True
from Object Inspector.
Upvotes: 20