Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LastKey()
Message
De
03/01/2019 02:38:28
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
02/01/2019 06:05:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01665038
Message ID:
01665063
Vues:
70
>>>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).
>
>Dragan,
>
>Your "LastKey() returns the code of the key used to terminate the Read statement" Are you sure? accoring to help lastkey(): "The values returned by LASTKEY( ) are the same as the values returned by INKEY( )".
>Nothing about the Read() statement. What am I missing here?

My memory misfired. I meant ReadKey().

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform