Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to capture Enter Button Pressed Event

The image below shows a part of my Login form . The program works fine and I am able to login when I press the Enter Button. But I want to Login when I press My Enter Button (Return Button) on my Keyboard. How can I do this ?

enter image description here

like image 546
Failed_Noob Avatar asked Dec 04 '22 08:12

Failed_Noob


1 Answers

In the properties of the form set the Accept button propertyto the Enter button which will gives your desired.

like image 92
Sai Kalyan Kumar Akshinthala Avatar answered Dec 30 '22 01:12

Sai Kalyan Kumar Akshinthala