Click here to Skip to main content
16,004,727 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Suppose if I have a form and in that I have a button.
If I want to submit a form I have to click on the button.
Here, I may focus on to that button and hit Enter Key or directly click on that button using mouse.
My Question is how do I know whether I pressed Enter Key or Mouse click
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900