trichview.com

trichview.support




Re: Text Styles & Save methods


Return to index


Author

Message

Slavi Marinov

Posted: 08/19/2002 15:26:12


Well, I found the problem... it's not with the size, it's with the Tags..

You see, I use tags of the tables in my program to save the size ( but the

actual size at creation time, for example -50 means that the size of the

table has been set to 50%). I do that because the .Width returns me the

current size in pixels and not the value I have set. So as I set the tag to

some value and use that method (

  MS:=nil;

  try

    MS:=TMemoryStream.Create;

    RVE.SaveRVFToStream(MS,false); // here is the crash

    MS.Position:=0;

    SetLength(FRVF,MS.Size);

    MS.ReadBuffer(Pointer(FRVF)^, MS.Size);

  finally

    MS.Free;

  end

)

It crashes. Try it and you will see.


--Slavi


"Sergey Tkachenko" <[email protected]> wrote in message

news:[email protected]...

> > BUT about the table.... I do not straightforwardly create a table

2*600(it

> > works ok with me, too), but first create a table, for example 2*5 and

then

> > split vertically some cell to 600 pieces. And then it crashes. By the

way,

> > my computer has 192MB RAM.

>

> I cannot reproduce this problem.

> Try to it with exe file compiled with newer version:

> http://www.trichview.com/resources/actions/actiontest.zip

> (it has a limit on 500 rows when splitting, but you can split twice).

>

> Or send me a project reproducing problem.

>

>





Powered by ABC Amber Outlook Express Converter