trichview.com

trichview.support




Re: table cell data question


Return to index


Author

Message

Daniel Zimmerman

Posted: 06/28/2005 0:09:30


You're absolutely correct.  This code is being called in a descendent of

TRichViewEditor, so getItem actually works on the editor's items, instead

of on the data object that we want to use.  Unfortuantely, it therefore

compiled, so I did not notice the problem.


The other bug in that code fragment was that we were passing in the cell

object, instead of using cell.getRvData. 


Thank you for your help,

Daniel



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

news:[email protected]:


>> I've just encountered what seems to be a strange problem:

>> I'm iterating through a table recursively, in order to change the

>> size,

> and

>> it appears that while changing the size, in one case, the cell data

>> contains an item which is a table, which in turn contains a cell

>> which is equivalent to the original cell.

>

> It's not possible...

>

> In the line

> curTable := TRvTableItemInfo(getItem(cntr));

> what is GetItem?

> It should be

> curTable := TRvTableItemInfo(data.getItem(cntr));

>

>

>

>

>





Powered by ABC Amber Outlook Express Converter