Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Credit card swipe
Message
 
 
To
04/03/2010 21:47:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01451846
Message ID:
01452668
Views:
35
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform