ehelin Posted May 9, 2006 Posted May 9, 2006 Hi: I am transitioning between two text boxes...and depending on my users (some are real speed typers <grin!>), sometimes text from the previous box makes it into the next text box. My question is that if I try the gain focus event of the second text box. is there a way to clear the key buffer (assuming this exists)? Any thoughts would be appreciated. Thanks! Eric Quote
Leaders snarfblam Posted May 9, 2006 Leaders Posted May 9, 2006 Are you tabbing between textboxes? I don't understand exactly how that can happen... unless some intermediate process interrupts the UI thread maybe. Quote [sIGPIC]e[/sIGPIC]
ehelin Posted May 10, 2006 Author Posted May 10, 2006 hey I have a bunch of "special" functions associated with each text box that fire under different situations...however, I did find a fix. I have a hidden text box that is an intermediate step between the two. When my user tabs, they go there, I count for a second, clear the hidden text box (cuts off any stray characters from the first), and then set the focus on the second text box. Seems to be working fine. Thanks for the reply! Eric Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.