How Button to get Click event when Enter is pressed

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have simple question does any one knows hoe to make a button receive click
even when enter is pressed.
Thanks
Al
 
Al said:
I have simple question does any one knows hoe to make a button receive
click
even when enter is pressed.

Assign the button to the form's 'AcceptButton' property.
 
On the Form properties, the "AcceptButton" should be assigned the Button of
your choice. Just liek that!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top