Hi Group!
I have a simple GUI featuring a RichTextBox and a Button. On Button
click, I start a BackgroundWorker that performs a query on the database
firing a ProgressChangedEvent for every row. The corresponding event
handler appends the row to the RichTextBox.
This works quite fine, but if I click into the TextBox while the
BackgroundWorker is running, the TextBox gets blank and the GUI hangs
until the BackgroundWorker has finished. As soon as it has, the TextBox
is updated again correctly and everything is fine again. If I don't
click into the TextBox, it does update and display correctly.
There are no event handlers whatsoever attached to the TextBox.
Any ideas?
cheers
Mathias