tkinter credit card scan

P

phil

Problem, the focus is on a field which has contents
and I scan the credit card card, which is keyboard input.
The field is altered and a bunch of chars fly acroos the
field. messy.

Ok, I can solve this in a very clumsy manner.
1. I see the first character of the scan, '%',
configure the field to show ' ' temporarily,
do a get() and after the scan is thru, restore
the contents. clumsy and messy, but ok.

The WORST PROBLEM, is if the previous contents
of the field had been selected, which it would be
if it is the first field in the payment window or
they had tabbed to the field. The the ist char
of the scan, the '%' replaces the contents before I
can do a get().

Suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top