Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LastKey()
Message
From
02/01/2019 09:41:47
 
 
To
02/01/2019 05:36:09
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01665038
Message ID:
01665049
Views:
50
>>Does anyone know if there is a Windows API behind the LastKey() function of VFP9 which can be called directly?
>
>I don't think there would be, since Fox doesn't use system events for managing its Read statement, not in this sense. LastKey() returns the code of the key used to terminate the Read statement, and it's a function which existed since Fox for DOS, i.e. it was written before Windows were an option for Fox (and when it had Unix and Mac versions).

Thanks Dragan - confirmed by Greg too. Too bad because I found it a useful function on occasion but explains why WinDev doesn't have it.
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