Hi
I wrote an app a long time ago that looked perfectly suited for a touch screen display. The user could choose the item or items that they want to enter into a POS terminal and could enter the cash or check transaction and generate a receipt.
I just realized after installing a touchscreen that I never programmed the buttons with the numbers 0-9 or the decimal point to replace their keyboard equivalents. Does anyone know what code is necessary to have a button with a '3' caption to press the '3' on the keyboard within its click event
Any help would be appreciated.
Thanks
-Tom

Help with - "Do you want fries with that?"
Jon_The_Coder
I did a similar thing some years ago. Just create a Commandbutton class with the correct size, and add this code in the click event:
KEYBOARD This.Caption
Then add a bunch of those buttons into a toolbar, edit the captions of those buttons and presto: there ya go. You could also use a Form with AllwaysOnTop = .t. or marked as dockable in VFP9.
Fox Rocks!
Charles Aimer
It was one of those programmer's block situations. I wrote the app 7 years ago, and I don't know the programmer anymore
-Tom
zdjray
KEYBOARD
"3"http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_foxhelp9/html/266ac2f6-a8e6-40de-bf76-dc7843c33795.asp