How to clear richview's content?

General TRichView support forum. Please post your questions here
Post Reply
cakk
Posts: 14
Joined: Thu Dec 17, 2009 2:35 am

How to clear richview's content?

Post 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
Sergey Tkachenko
Site Admin
Posts: 17555
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Code: Select all

FViewer.Clear;
FViewer.Format;
cakk
Posts: 14
Joined: Thu Dec 17, 2009 2:35 am

Post by cakk »

Thanks~~~~ It works fine! :P :P
Post Reply