Infinity wrote on Sep 18
th, 2007 at 4:12pm:
Today my boss asked my to put number buttons on my forms so he doesn't have to use the keyboard's number pad. He wants to be able to click on a number and have it magically appear in an element, so that if he wants to retrieve customer 132's invoices he doesn't have to type 132 on the retrieve spec, but can instead click button 1, then button 3, then button 2. I asked if it was just the code element he wanted to fill and he said no, any element. I almost laughed at him, but I held it back.
I have to say, I got a good chuckle out of your last sentence here.
Now, I'm going to make your boss's day! There is a complicated solution and a simple solution. The complicated one involves some fancy tricks in Sesame, which I've toyed with already in the past.
But, why do all that when Windows has it built-in? Windows XP and Vista have something called "On-Screen Keyboard". You can find it in XP at:
Start/
All Programs/
Accessories/
Accessibility/
On-Screen KeyboardIt shows a complete keyboard layout on the screen that you click on with the mouse, and the keystokes go right into the LE that has focus. You could probably even have it pop up automatically when he opens a form. What's good for you boss, is he can use this with any program in Windows.