I have a few instances of a user control that has just a TextBox to search for items.
Now I see a very funny thing. The cursor is in one uc TextBox but the text I type appears in another uc TextBox.
How can this be possible.
And how can I fix it?!
Edit: Added image:

Notice the cursor in model number, but the text is in upc.
Edit: Added Code:
Private Sub TxtScan_KeyDown(ByVal sender As Object, ByVal e As KeyEventArgs) Handles TxtScan.KeyDown
'When typing in the model number uc I see that the sender
'is the txtbox is the one in the UPC user control.
End Sub
ok I got the code doing that stupid thing.. I still believe its a .net bug. it should of take over the focus when I enter the textbox.
When I took out this line it works normal.