Possible Duplicate:
How to fix the flickering in User controls
my textbox flickers when it updates the text.
I update my textbox with a timer that ticks every 100 ms. (See it as a log window).
Question
How can I prevent this flickering?
Thanks!
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.
I think you should either:
a) Slow down the tick rate of your timer
b) Enable double buffering
c) Put Application.DoEvents() right after the line which adds text to the TextBox
This is more of a workaround solution, though. I’d just lower the tickrate.