Hello,
I am new here hope someone can help me, I been stuck with this for a while and could not figure it out :(
I am using visual studio (VB) Try to make text box and scan serial number, I want after scan then all number will highlight and ready for next scan without using mouse for hit on keyboard to highlight it. but when I used "SelectAll", instead highlight a whole string of number at one time, it highlight single digit and disappear then move to next digit -> highlight and ....
hope some one can help
Thanks
I am new here hope someone can help me, I been stuck with this for a while and could not figure it out :(
I am using visual studio (VB) Try to make text box and scan serial number, I want after scan then all number will highlight and ready for next scan without using mouse for hit on keyboard to highlight it. but when I used "SelectAll", instead highlight a whole string of number at one time, it highlight single digit and disappear then move to next digit -> highlight and ....
Private
Sub
txtTickNum_TextChanged(sender
As
Object
, e
As
EventArgs)
Handles
txtTickNum.TextChanged
Try
Me
.TicketTableAdapter.Serial(
Me
.TicketDataSet.ticket,
CType
(txtTickNum.Text,
Decimal
))
Catch
ex
As
System.Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End
Try
' Select all text in the text box.
txtTickNum.SelectAll()
End
Sub
Thanks