Unable to move focus to another field

  • Thread starter Thread starter Heather Crow
  • Start date Start date
H

Heather Crow

I have a VS.NET 2003 Visual Basic form which keeps hanging. It does not
appear to matter what textbox I am on. When trying to edit the field I
cannot move focus from this field to another. Clicking buttons etc. does
nothing and the focus remains with the field I had been editing. The text
boxes are bound to a record in a SQL database.
 
August 9, 2004

I sounds to me like you have an error in your databinding code.
When you send the information back to the SQL server, it might
be causing an error. It will hang until it gets a response back
from the server, or times out. If you have set validation code
for the fields, you might be getting the focus put back to the
textbox because your information is not passing validation.
I suggest reviewing your code and trying to find out if an error
occurred. You might try stepping through your code and finding
out where the form hangs. Good luck!


Joseph MCP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

focus 1
Form Focus 6
Setting Focus to Desired Control on a TabPage 2
Focus issue 7
Moving Focus 2
Setting focus inside a Panel 6
Focus Doesn't Work With Splitter Panel 4
Textbox focus change (automatic) VB 2008 3

Back
Top