Page 1 of 1

How to clear richview's content?

Posted: Fri Jun 04, 2010 9:02 am
by cakk
I wrote these code:

Code: Select all

  FViewer.Clear;
  FViewer.Invalidate;
the content is clear, but the scrollbar still stay there, looks like some content exists, but just hidden. How to resolve it?

Thanks~~~ :P

Posted: Fri Jun 04, 2010 7:10 pm
by Sergey Tkachenko

Code: Select all

FViewer.Clear;
FViewer.Format;

Posted: Fri Jun 04, 2010 11:14 pm
by cakk
Thanks~~~~ It works fine! :P :P