General information
Title:
Double execution of event code using shortcuts
Anyone ran into this before? I have a shortcut key assigned within my caption property of a command button. If a click this button it opens up a new instance of a form: no problems. If however I hold down my ALT key and hit the shortcut key and step-through the code, it attempts to run the cmdEdit_Click event twice and crashes when trying to create a second instance of the same form due to the assignment of a unique key value in my toolbar. Anyone point me in the right direction of why this code would be running twice when shortcutted and only once when actually clicked?
P.S.: I searched my entire project in case I had left an entry in there calling the cmdEdit_Click event and found no traces of it so i know it is noot happening because of a KeyDown or anything like that.
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only