.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Shortcut key not working

0 REPLIES 0
Reply
Message 1 of 1
aslam
191 Views, 0 Replies

Shortcut key not working

Dear all,
I have made a form in c#. When i click on the Button available on this form, a certain thing happens. The same thing i want to do by typing a shortcut key. I have assigned a shortcut key to Button like ALT+F5. But when i press this key, the focus goes to autocad command window. I have to click on the form button to set focus, and then i issue my keyboard shortcut. It works but again lost the focus.
Is there is any way in autocad, i issue a shortcut key then it execute my button code and it does not depend on focus of the button.
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost