.NET

Reply
Valued Contributor
aslam
Posts: 86
Registered: ‎07-22-2006
Message 1 of 1 (52 Views)

Shortcut key not working

52 Views, 0 Replies
08-31-2006 12:39 AM
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.
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.