trichview.com

trichview.support




Re: LoadRVFFromStream


Return to index


Author

Message

Holger Warzelhan

Posted: 06/19/2004 15:45:05


Hello,

I tried this, but what happens is that even after rv.Format is executed, and

the Screencursor is normal again, the contents of the RichViewEdit keeps

showing the old contents for several seconds, until the new contents is

displayed. This document contains a lot of large images, so I guess that rv

needs quite some time to really display them after formatting?

Load and format are very fast, just after that I have the delay, for which I

want to keep the mouse cursor "busy", so that users don't click other things

and wonder why nothing happens. During the delay time, the program does not

react to anything.


Regards,

  Holger


"Sergey Tkachenko" <svt@trichview.com> schrieb im Newsbeitrag

news:40c1e2b3$1@support.torry.net...

> Hello

>

> Screen.Cursor := crHourGlass;

> rv.LoadFromStream(...);

> rv.Format;

> Screen.Cursor := crDefault;

>

>

>

> >

> > Hello,

> > when I use LoadRVFFromStream to load a large document into a

> TRichViewEdit,

> > and call Format after this, it takes (depending on the size of the

> document)

> > several seconds before the contents shows up in the TRichViewEdit.

During

> > this time, I would like to change the cursor to an hourglass, but to

> return

> > to normal operation after this, I would need to know when TRichViewEdit

is

> > done, or in other words, I would need an event that tells me that the

new

> > document is now actually showing.

> > Is this possible?

> > Thank you!

> > Regards,

> >  Holger

>

>





Powered by ABC Amber Outlook Express Converter