When I select and drag simple table from MS Word to RichViewEdit control it works well, until I start to work with it. If I do select content of cell and start type - I get AV in some cases. If I do some formatting of text in a cell - I get AV in some cases. If I trying to delete the whole table I get AV almost always.
If I do the same with HTML - it works just excellent. I can drag table from browser and edit it safely. There are only problem with tables from RTF.
I using the last version of RichView.
Problem with tables imported from RTF
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Can we speak via ICQ?
Just do the following. Create new application with RichViewEdit control, assign RVStyle to it and run.
Open MS Word and create simple table 3x3, type something in cells.
Select whole table and drag it from Word to your application and drop on RichViewEdit.
Then try to edit content of cells, make some parts of text in it bold/normal. On my side it creates exception.
Just do the following. Create new application with RichViewEdit control, assign RVStyle to it and run.
Open MS Word and create simple table 3x3, type something in cells.
Select whole table and drag it from Word to your application and drop on RichViewEdit.
Then try to edit content of cells, make some parts of text in it bold/normal. On my side it creates exception.
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
I draged table 3x3 from Word 2003 to the ActionTest demo, selected cells , applied bold, deleted the first column... All worked without problems.
How do you apply bold in your application? Can you reproduce this problem in TRichView demos?
What version of TRichView do you use? (the latest may mean 1.9.24 or 1.9.31)
How do you apply bold in your application? Can you reproduce this problem in TRichView demos?
What version of TRichView do you use? (the latest may mean 1.9.24 or 1.9.31)
I am using 1.9.24 version. I can not reproduce such error in compiled demo from your site, but as I can see it is old enough. As for bold, I have made a mistake, I have tried it in another my test application.
Can you test it in v.1.9.24? You may do any actions in cells, and most often I get AV when deleting the whole table. As I can see, sometimes in RVData appears incorrect pointer (may be destroyed object?).
Can you test it in v.1.9.24? You may do any actions in cells, and most often I get AV when deleting the whole table. As I can see, sometimes in RVData appears incorrect pointer (may be destroyed object?).
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
I cannot reproduce the problem with v1.9.24 as well.
Here is the ActionTest demo compiled with 1.9.24, it works ok in my side: http://www.trichview.com/support/files/ ... onTest.zip
Here is the ActionTest demo compiled with 1.9.24, it works ok in my side: http://www.trichview.com/support/files/ ... onTest.zip