trichview.support
Re: List Index ot of bounds |
Author |
Message |
Alan McDonald |
Posted: 12/31/2004 2:21:11 "Sergey Tkachenko" <svt@trichview.com> wrote in message news:41d44bd3$1@support.torry.net... > If you assing RVStyle.TextStyles[i].BackColor to color <> clNone, background > of this text becomes colored. > Set RVStyle.TextStyles[i].BackColor = clNone to transparent background. > > Please post here (or send me by e-mail) a code causing the "list index of > bounds" error. > What code would you like? I trace into the richviewactions with a lot of recursive calls - it's just about impossible to find this sort of line error it's frequently a index(1) and sometomes (2) but sometimes some other number e.g. (17) in the index if that's what you mean. I've gone thru and changed the components i.e. deleted them and replaced them to start with defaults. the DBRicheviewedit default is for dynamic styles anyway (changed them to string tags). I deleted the style component and started from scratch there too. I deleted all the para, list etc lists so they're blank. I do not use my own code - just the richviewactions. Now when I created a bulleted list this last time, it was created with the little green arrows. I saved it without error. I also see this field in my app in another DBRichView control. The text looks fine here and does not throw an error. But when I return to the edit control, the green arrows are not visible, the text is indented and if I scroll (DB navigate) off the field and try to return I get the list index out of bounds(1) error. If I run the app out of the IDE, I get this same error in red text in the control. Background: I use Firebird1.5, IBO (TDataset descendant) connection components. I have the fields set to sub-type binary. Alan |
Powered by ABC Amber Outlook Express Converter