Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Barcoding Question
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01373618
Message ID:
01373655
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform