Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inkey() returns only 0
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01332212
Message ID:
01332234
Vues:
10
Sorry but I'm not following you.

>I need to stop the loop after it has been clicked.
>
>
>>Why not use KeyPress event ?
>>
>>>I’m using this code in a click method of a form and trying to get escape but the ? shows the same values regardless of what I press. I have the KeyPreview = .t.
>>>
>>>DO WHILE 1 = 1
>>>
>>>	IF ctr > 50
>>>		EXIT
>>>	ENDIF
>>>
>>>               ?INKEY(), LASTKEY(), CHRSAW()
>>>
>>>	IF INKEY() = 27
>>>		EXIT
>>>	ENDIF
>>>ENDDO
>>>
>>>
>>>but my ? only shows 0 13 .f. regardless of what key I press
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform