Re: Text Styles & Save methods
Posted: 08/19/2002 19:08:45
This size is stored in table.BestWidth property.
The most probably the problem is in improper use of tags.
SaveRVF may crush, if rvoTagsArePChars is in RVE.Options but tags do not
point to strings.
How do you assign tags? Do you have rvoTagsArePChars in RVE.Options?
> 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
> some value and use that method (
> RVE.SaveRVFToStream(MS,false); // here is the crash
> MS.ReadBuffer(Pointer(FRVF)^, MS.Size);
> It crashes. Try it and you will see.
> "Sergey Tkachenko" <email@example.com> wrote in message
> > > BUT about the table.... I do not straightforwardly create a table
> > > works ok with me, too), but first create a table, for example 2*5 and
> > > split vertically some cell to 600 pieces. And then it crashes. By the
> > > 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