Assign a function key to a button

  • Thread starter Thread starter SF
  • Start date Start date
Is it possible to assisgn a function key to a button?

SF

You can come pretty close. If you set the button's Caption to a text string
and precede one letter in the text string by an ampersand, the user can
"click" the button by typing Alt-that letter. For instance, setting the
caption of a button to E&xit will display Exit with the x underlined, and
typing alt-X will cause the button's click event to execute.


John W. Vinson [MVP]
 

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