开发者

How to press a button with the enter key

开发者 https://www.devze.com 2023-02-20 20:01 出处:网络
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 b

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消