Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keyboard input
Message
 
 
To
07/08/2003 21:34:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00818051
Message ID:
00818069
Views:
19
Hi Shafid,

The KEYBOARD command can send keystrockes to the application it is run in only. To send keystrockes to the external program, you can use WSH SendKeys method or Windows API. See SendInput Function Thread #814808 for same code.

>I am running a memory resident program which gives me weight from a scale when I press Ctrl-W on the keyboard. When I get to the weight field (Text1)in Invoice form, and press Ctrl-W, the weight then appears on this field. But when I put Keyboard "{ctrl-w}" in the got focus, or keypress of this field, nothing happens. Am I missing something, plese help.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform