Assign a function key to a button

J

John W. Vinson

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]
 
Top