Assign to Input from Storage suddenly stopped working

  • My D7 app with wptools 4.20 has the following line of code which worked fine until a week ago. The unit containing this code has not been modified however, since mid 2008. What could have caused this? Where should I be looking?

    rtfEditor.rtfText.assign(template.rtftext);

    rtfEditor is TWPRichText
    .rtfText is TWPRTFTextInput
    template is TWPRftStorage
    .rtftext is TextIO

    One change in my environment is that I upgraded ReportBuilder fro 7.04 to 11.03 during the last week.

    Yes, I know I should upgrade wptools also, but one step at a time (g).

  • One more factoid and then I'll wait til tomorrow morning ..

    Stumbling around trying different things, I changed from using TWPRTFStorage to a string. In the following, editor is a TWPRichText that was dropped on my form. EditedText is a string var. This line throws an access violation. I'm now more mystified than ever.

    editor.AsString := EditedText;