A textbox looses focus and I don’t know why. How can I find out the reason of why the focus is lost? I’ve tried listening to TextBox.LostFocus event, but it’s parameters don’t seem to give me any valuable information about the cause.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You might try Snoop – a tool that listens to all events in your app.
You could also try to debug your app with Visual Studio, set a breakpoint in TextBox.LostFocus event handler, and inspecting the call stack, where you might see which method caused the lost focus.