Using TRichView in intraweb.
Posted: Thu Dec 15, 2005 11:34 am
Hi,
We have a win client having rich text capabilities.
We want to have a web version of our software.
In web we want to convert the rvf to html and show.
To implement this we have done following steps
1. Create a dummy richview
2. Load the rvf data
3. Call richview.SaveToHtmlStream.
But there is one problem.
TRichview do not allow to do any operation without parent as TForm.
Since TForm is not thread safe it is creating problem in multi-threaded
environment. We time to time get error while creating a form with richview in it. "Canvas does not allow drawing".
Is there a way to convert rvt to html and html to rvf without creating TForm?
Thanks in advance.
Shinu
We have a win client having rich text capabilities.
We want to have a web version of our software.
In web we want to convert the rvf to html and show.
To implement this we have done following steps
1. Create a dummy richview
2. Load the rvf data
3. Call richview.SaveToHtmlStream.
But there is one problem.
TRichview do not allow to do any operation without parent as TForm.
Since TForm is not thread safe it is creating problem in multi-threaded
environment. We time to time get error while creating a form with richview in it. "Canvas does not allow drawing".
Is there a way to convert rvt to html and html to rvf without creating TForm?
Thanks in advance.
Shinu