"Bill Nguyen" <bi*****************@jaco.comschrieb
I would like a assign a Function key (F8, for example) to invoke a
button control click
Please help!
Set the Form's keypreview property to true. In the Form's KeyDown event,
catch the key and call the same procedure as you call in the button's click
event. Or, if the Form has a Menu, add the function as a menu item and
assign F8 as the shortcut. In the click event, invoke the code.
Armin