Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Credit card swipe
Message
 
 
À
04/03/2010 21:47:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01451846
Message ID:
01452668
Vues:
36
>>Haven't tried, but what about NODEFAULT in InteractiveChange() ?
>
>Your NODEFAULT idea works for keyboard input
>
>BUT I find that it is unpredictable whether the card swipe will fire interactivechange or keypress, so I still don't know how to test for the following in keypress AND interactivechange :
>
>
>if InputFromSwipe()  <<-- How do I do this
>  Allow all characters through
>else
>  if escape or '1' was pressed
>    allow through
>  else
>    NODEFAULT
>  endif
>endif
>
Yes, I was thinking about it and I think there is no real way to determine what fired the event - swipe or real keyboard input...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform