Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>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?
Regards,
Koen
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement