Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Barcoding Question
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01373618
Message ID:
01373655
Vues:
19
Actually what works is to check for e.KeyCode = 13 in the KeyPress event.

Thanks folks



>Yes and maybe there are other things that can be validated (other than the length) at the same time.
>
>>Hi,
>>
>>Einars suggestion sounds good. But you could also just check the number of characters present in the TextChanged event and only react when the expected number are present.
>>
>>>I am tasked with developing an app that scans in barcodes.
>>>
>>>I placed a textbox on a form and put
>>>
>>>
>>>MessageBox.Show(textBox1.Text);
>>>
>>>
>>>in the textBox1.TextChanged event. When I scan, as soon as the first number enters the textbox, the even fires. How do I scan in the whole barcode?
>>>
>>>Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform