Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6741649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:45:03+00:00 2026-05-26T11:45:03+00:00

I have a few instances of a user control that has just a TextBox

  • 0

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 txt is in upc

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
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:45:04+00:00Added an answer on May 26, 2026 at 11:45 am

    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.

        Private Sub CustomerNo_Validated(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CustomerNo.Validated
        SearchItem_UPC.TxtScan.Focus()
        End Sub
    

    When I took out this line it works normal.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a few views that each have several XAML TextBox instances. The Text
I've seen that a few instances of this problem have been raised already. However,
I have a user control that inherits from the ListBox class and displays a
I have a userControl which has some programmatically drawn rectangles. I need few instances
We're trying to create a ListBox which has a few items inside that the
I have a web page that has a few text boxes, and a dual
I have UserControl that has few fields (address, suburb, etc) and a SubmitButton, once
I have a user control that contains a repeater. It seems that data cannot
I have few basic questions on session management in GWTP. Now, we create a
I have few controls (Label, Custom Textbox, Datagridview) docked on a form. When I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.