How do I assign a non alpha-numeric key as an accelerator for a control. For instance I want the escape key to activate a button control.
Thanks,
Venkman
For the specific case of the escape key and a button on a form, set the .cancel property of the button to true - this will make the escape key activate it. Only one button on a form can have this property set. Rob
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.