trichview.com

trichview.support




Re: DeleteUnusedStyles


Return to index


Author

Message

Alan McDonald

Posted: 01/14/2005 16:13:15


> Hi Sergey,

>

> I've recently upgraded to version 1.9.2.2 from 1.9.0.4.

>

> As part of my saving routine I call:

>

> rve.deleteunusedstyles(true,true,true);

>

> Since upgrading to 1.9.2.2 the deleteunusedstyles intermittently generates

> a 'list index out of bounds (129)' exception. It never did that before and

> nothing else in my application has changed.

>

> Can you think of any reason that an RVE can cause that error? Or has

anything

> in deleteunusedstyles changed? My application loads RVE's to/from a

database

> and it's usually only after the application switched RVE's a few times

(minimum

> of three) that the exception will occur.

>

> Thanks


What do you mean by "switched RVEs"?

I kept getting list index OOB errors until I made sure each RVE had it's own

style component, then I stopped AutoDisplay (made it False) and used the

LoadField method wherever I wanted it.

I got teh impression, that autodisplay was trying to load but it was too

slow before the styles could be properly found. I don;t get these errors

anymore.

Alan





Powered by ABC Amber Outlook Express Converter