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

General TRichView support forum. Please post your questions here
Post Reply
Tarun
Posts: 13
Joined: Wed Nov 01, 2006 12:25 pm
Location: India

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

Post 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
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Tarun
Posts: 13
Joined: Wed Nov 01, 2006 12:25 pm
Location: India

Post 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.
Post Reply