keyboard shortcuts to buttons?

Hello, is there a way to put shortcuts to buttons
like enter



Answer this question

keyboard shortcuts to buttons?

  • Tonius

    Additionally you can click a button using ALT + char combination by adding a '&' in the fron of that char (in the button Text property) like:

    button.Text = "&File"

    for ALT + F

  • Karthick1368

    Hi,

    if you need a button that is clicked when the user presses enter, you can use the acceptbutton property of your form.

    There is also an cancelbutton property that is used if the user presses ESC.

  • keyboard shortcuts to buttons?