Hi !!! I have problem with Refreshing or Redrawing my Window Form. I have one Rich Text Box on my Form and i have a list of title of books on it. I wish when I add a new title book to Rich Text Box to Refresh/Redraw the all Windows Form or just Refresh/Redraw Rich Text Box. I try to use "Refresh()" method and "Invalidate(true)" but nothing happen. Rich Text Box it's still the same state. But when i restart the program the title of new added book is added in the Rich Text Box but this no suits me. Can you help me ??? Sorry for my bad English !!!
destruct0
7
Junior Poster in Training
Recommended Answers
Jump to PostHi,
Could you provide your current code, cause as far as I know it should refresh itself automatically whenever you append a text to it. :)
For instance, when you click on a button you can add a new string found in a textbox:
richTextBox1.AppendText(textBox1.Text);
Jump to PostIt refreshes and redraws automatically whenever it's changed either by the program or by the user, this is why I want to see your code, because it's likely that there is a bug what you didn't notice
All 6 Replies
CloneXpert
20
Junior Poster in Training
destruct0
7
Junior Poster in Training
CloneXpert
20
Junior Poster in Training
destruct0
7
Junior Poster in Training
destruct0
7
Junior Poster in Training
hassan12345
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.