|
Subject:
|
How do I disable arrow keys
|
|
Posted By:
|
sanderson
|
Post Date:
|
7/2/2008 11:38:47 AM
|
I am using the keydown function to control some stepper motors with the arrow keys in vb6. My problem is that as I use the arrow keys they also automatically cycle through the buttons like the tab button does. I have set the tab stop to false so tab no longer works on the buttons however, the arrow keys still work. How do I disable or override the automatic functionality of these keys so that they will only function for my stepper motors?
Thanks
|
|
Reply By:
|
gbianchi
|
Reply Date:
|
7/2/2008 12:09:38 PM
|
Hi there..
If I remember well, you can cancel the event once you are inside, so there is no further proceding of it...
Anyway, this is a standard windows layout functionality for buttons...
HTH
Gonzalo
=========================================================== Read this if you want to know how to get a correct reply for your question: http://www.catb.org/~esr/faqs/smart-questions.html ^^Took that from dparsons signature and he Took that from planoie's profile =========================================================== My programs achieved a new certification (can you say the same?): WORKS ON MY MACHINE http://www.codinghorror.com/blog/archives/000818.html =========================================================== I know that CVS was evil, and now i got the proof: http://worsethanfailure.com/Articles/Classics-Week-I-Hate-You.aspx ===========================================================
|
|
Reply By:
|
sanderson
|
Reply Date:
|
7/2/2008 1:06:04 PM
|
How do you cancel the event and once you are inside where?
quote: Originally posted by gbianchi
Hi there..
If I remember well, you can cancel the event once you are inside, so there is no further proceding of it...
Anyway, this is a standard windows layout functionality for buttons...
HTH
Gonzalo
=========================================================== Read this if you want to know how to get a correct reply for your question: http://www.catb.org/~esr/faqs/smart-questions.html ^^Took that from dparsons signature and he Took that from planoie's profile =========================================================== My programs achieved a new certification (can you say the same?): WORKS ON MY MACHINE http://www.codinghorror.com/blog/archives/000818.html =========================================================== I know that CVS was evil, and now i got the proof: http://worsethanfailure.com/Articles/Classics-Week-I-Hate-You.aspx ===========================================================
|
|
Reply By:
|
gbianchi
|
Reply Date:
|
7/2/2008 2:13:11 PM
|
You will have to do some trial and error with this b/c I don't remember exactly how, but I think you can change the keycode to anything else (for example 0), and that way the key will not be processes...
HTH
Gonzalo
=========================================================== Read this if you want to know how to get a correct reply for your question: http://www.catb.org/~esr/faqs/smart-questions.html ^^Took that from dparsons signature and he Took that from planoie's profile =========================================================== My programs achieved a new certification (can you say the same?): WORKS ON MY MACHINE http://www.codinghorror.com/blog/archives/000818.html =========================================================== I know that CVS was evil, and now i got the proof: http://worsethanfailure.com/Articles/Classics-Week-I-Hate-You.aspx ===========================================================
|