In VB2010, I have a RichTextBox populated with both text and graphics. I have created a spell check routine for the RichTextBox. After correcting the first misspelling, I use scrolltocaret to display the next misspelling. However, when it scrolls all text become invisible although it looks like the scroll goes to the correct position. The graphics are still displayed in the correct position but the text is not shown.
Now if I remove all the graphics and perform the spell check again, scrolling to the next misspelling is correct and the text is visible.
Appears graphics in the RichTextBox creates a situation when the text disappears when scrolled.
What I have tried:
Tried removing the graphics and the text remains displayed on scrolling.