trichview.support
Re: InsertRVFFromFileEd overwrite the previous item |
Author |
Message |
Sergey Tkachenko |
Posted: 01/29/2004 20:32:57 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