trichview.com

trichview.support




Re: InsertRVFFromFileEd overwrite the previous item 


Return to index


Author

Message

Luis Diaz

Posted: 01/30/2004 16:16:59


I solve the problem with insertRvffrmStream.

Thanks.

"Sergey Tkachenko" <[email protected]> wrote:

>InsertRVFFromFileEd (as well as all editor's methods for insertion) only

>overwrites the selection.

>It does not modify the existing styles, but it can add new styles.

>Sorry, I do not understand the problem. Can you send me a simple project

>demonstrating it?

>PS: you do not need to call Format after InsertRVFFromFileEd.

>

>>

>> InsertRVFFromFileEd overwrite the previous item

>> I use this method to insert a text on an existent document:

>>   if fileExists(ExtractFilePath(ParamStr(0) )+'Textos\EleMemListCab.rvf

')

>> then

>>     begin

>>

>

>

>

>

>

>

>rve.InsertRVFFromFileEd(ExtractFilePath(ParamStr(0) )+'textos\EleMemListPie.

>rvf

>> ');

>>       rve.Format;

>>     end

>>   else

>>     Showmessage (' it doesn't exist '

>+ExtractFilePath(ParamStr(0) )+'textos\EleMemListPie.rvf

>> ')

>> And this overwrite the loaded item previously and it modifies the existent

>> styles.

>> Why?

>

>





Powered by ABC Amber Outlook Express Converter