Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I'm having a problem where during the tabPage enter event I set a textbox on that tab page to have the focus. This works fine... The problem is that there are buttons on this tab page and when the textbox has focus after the enter event the first click of the button doesn't do anything other than remove the focus from the text box then it seems to work fine from that point on.

 

The only other thing that is happening is the text box has a validation event that is firing when it loses foucs. I don't do any focusing in the validation event so does anyone have an idea of what is happening here.

 

Thanks in advance

Posted
Ok its something about the validation event that is screwing up the button click. The only thing that I can tell is that sometimes I change the text box in the validation routine, but I'm still unsure as to why then the click would not fire the button click event.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...