Windows XP textbox.Focus()

Joined
Dec 18, 2006
Messages
7
Reaction score
0
Hi, there;
I am developing ppc application with C# (VS2003).I have a form has a text box and I cached this form in a hashtable. When the first time the form is create, I can set focus to the text box, and GotFocus is triggered. But the next time I get this cached form then call textbox.Focus() and then call showDialog(), this time that textbox cannnot accept the focus (I tried .Focus() at different places). I notice this time Visibility property of the textbox become false.
Does anybody know how to resolve this?
 

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

Back
Top