Page 1 of 1

How to save the controls(in the RV) in RTF and HTML File

Posted: Sat May 10, 2008 1:25 am
by Tarun
Hi,

I am inserting controls (Frame, Panel and label ) in the Rich view.
Now, I want to save this Rich view in a RTF and HTML file....

But i am nor able to do that........Controls are not visible in the RTF or HTML file.


Can you please help me on this.



Thanks & Regards,
Tarun

Posted: Sat May 10, 2008 8:29 am
by Sergey Tkachenko
TRichView cannot save controls in RTF and HTML itself.
When control needs to be saved, OnSaveComponentToFile event occurs, where you need to provide HTML or RTF code representing this control.

Posted: Sat May 10, 2008 6:37 pm
by Tarun
i have seen the OnSaveComponentToFile event, It will return the Sting which will appear in the RTF or HTML file.


but i am not able to show the Component it self there in the RTF or HTML file.

Actually, the problem is that i have inserted a frame in the RV and in the frame i have paste the Chart, Now i want that chart to be displayed in the RTF or HTML File.