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?
 
Back
Top