Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Credit card swipe
Message
From
04/03/2010 13:25:54
 
 
To
04/03/2010 12:53:29
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:
01452549
Views:
46
>>>>>I'm using an edit box to capture the swiped data. Two questions:
>>>>>
>>>>>1. I don't want the user to see the edit box. However, if I set visible .f., it will not accept data.
>>>>>
>>>>>2. With the edit box, I do not want the user to key in data, except for Escape or perhaps a '1', but otherwise I want nothing to happen if he doesn't follow instructions and keys in other data. How do I do that?
>>>>>
>>>>>Thanks,
>>>>>
>>>>>Yossi
>>>>
>>>>May be you set editbox position to -100, -100 (for example), so user would not see it?
>>>Thanks. Now how about my 2nd question? :)
>>
>>If the user doesn't see the editbox, how can he key in something?
>
>Because focus is still set to it and he happens to key in the sentinel character (a '?') it will think that this is credit card data. I want the system to prevent the edit box being filled in with keyed in data.

for Number 1) you can just send it out of the form frame
number 2)cant you like...set the amount of data that can be enterED?
Previous
Reply
Map
View

Click here to load this message in the networking platform