Creating a table in RichView
Posted: Tue May 03, 2011 1:33 pm
Hi Sergey,
I'm trying to build a document, containing some tables, using TRichView component. I create TRichView and TRVStyle instances and fill them in programmatically. Everything works fine until I add a table to a document. Adding a table results in an invalid document, which can't be read by the ActionTest application.
I'm using your code from the "Editor 1" example to create a table. The only thing I can imagine is that I need to call Format after creating a table and before saving the document, but trying to call it results in Abstract Error in the RV_InfoAboutSaD function.
Could you give any advice please?
I'm trying to build a document, containing some tables, using TRichView component. I create TRichView and TRVStyle instances and fill them in programmatically. Everything works fine until I add a table to a document. Adding a table results in an invalid document, which can't be read by the ActionTest application.
I'm using your code from the "Editor 1" example to create a table. The only thing I can imagine is that I need to call Format after creating a table and before saving the document, but trying to call it results in Abstract Error in the RV_InfoAboutSaD function.
Could you give any advice please?