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!
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!
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.