Calculator Key Press

D

DS

I've bilt an on screen calculator. It works fine. I now want to tie in or
attach the number keys on the keyboard to the command buttons on screen so
that the user can either click on the command button on the screen or enter
the number by using the keyboard or a combination of both. I'm assuming
that it's the key press event but after that I'm lost. any help
appreciated.
Thanks
DS
 
D

DS

Thank you for the examples. However; I need to press the keys on the
computer keyboard to enter the info as well. I have the calculator. If I
press the one button on the on screen calculator it enters one into the
unbound textbox, I also want to if I wish to be able to press one on the
computer keyboard to enter one as well. The textbox is unbound and not
enabled. Maybe I'm overthinking once again.....but, any help is
appreciated.
Thanks
DS
 
M

Mr B

DS,

Actually the example file for the Keyboard and Calculator has exactly the
type of capability that you describe.

Download that one and look at the code behind the Calculator.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top