trichview.com

trichview.support




how to save/load forms in RichView


Return to index


Author

Message

Julian

Posted: 09/19/2003 13:30:54


Hello Sergey,

Is there a way to save and load forms in a RichView? For exmple, I insert

the form using the following code:


var

frm: TmyForm;


Application.CreateForm(TMyForm, frm);

rve.InsertControl('',frm,rvvaBaseline);


(The form contains one panel, say Panel1)


This code works fine and the form is being inserted in the document. I can

insert many instances of the form. However, after saving the document, I'm

trying to loading it again but I receive a message stating that a component

named Panel1 already exists :(


How to work around this? Anyone?


PS. The TMyForm is registered in the initialization section.





Powered by ABC Amber Outlook Express Converter