Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending keystrokes to non VFP windows
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00158751
Message ID:
00160328
Views:
30
>When I was goofing around I used = CAPSLOCK(.F.) to make sure that it was when it was set to on. It seems (and I admittedly haven't tested this as well as I should), that VFP lags behind itself. While I haven't looked into it closely enough to know for sure, it seemed that VFP executed the statement, then the code that followed. When I looked at the keyboard afterward, caps lock was still on, and the debugger said that CAPSLOCK() was .F. Strange, but I think I may be guilty of some bad (computer) science here. Turn capslock on, insert = CAPSLOCK(.F.) and see what you come up with in my code sample.

That's exactly what I did and it worked. Weird...

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform