trichview.com

trichview.support




Cannot load RTF file


Return to index


Author

Message

David Anson

Posted: 07/08/2005 11:28:55


I have created a template RTF file. My Delphi program loads a copy of the

template, modifies it and saves it.  I then want to load this in to a

TRichView component so it can be assigned to a TRVPRint component and

printed out.


However I get a runtime error on the very first line which uses any of these

components:


var

Loaded : Boolean;

begin

Loaded := RichView1.LoadRTF(FileName);


The form contains TRichView, TRVStyle and TRVPrint components.  All

properties are defaults and I have checked the value of FileName which is

correct.


Any ideas?


TIA


David Anson





Powered by ABC Amber Outlook Express Converter