Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LastKey()
Message
From
02/01/2019 09:40:02
 
 
To
02/01/2019 09:35:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01665038
Message ID:
01665047
Views:
57
>>Does anyone know if there is a Windows API behind the LastKey() function of VFP9 which can be called directly?
>>
>>Thanks
>
>As mentioned, Foxpro does not use the Windows keyboard buffer, but has its own. This proved to be a problem when designing automated test cases that involved Windows dialog windows. The only solution for that was to use the SendKey function in the WinAPI. The FoxPro LastKey(), and Inkey() function read the keystrokes from the foxpro internal keyboard buffer.
>
>From my experience as a tester for Microsoft.

Awesome, Greg. Thanks for the info.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform