trichview.com

trichview.support




LoadRTFFromStream


Return to index


Author

Message

John Stickley

Posted: 04/02/2005 15:43:38


Could someone suggest a solution to the following problem.

I read data (rtf) from database - I want to edit this in editor (effectively

a RVActions form - no changes to form).

If I use the code below on a RichViewEdit control it works alright - the

text appears.

If I try the code on the control in the RVActions form the default text (I

load the text as in the demo) is cleared but the new text does not appear.

I can cut and paste the text fro m a test RichViewEdit to the RVActions

form and it is displayed correctly.



     Clear;

     Refresh;

     LoadRTFFromStream(mainForm.stream_read);

     Format;

     Refresh;


any help greatfully accepted

John





Powered by ABC Amber Outlook Express Converter