Code: Select all
RichViewMain.RTFOptions := RichViewMain.RTFOptions+[rvrtfSaveHeaderFooter];
RichViewMain.RTFReadProperties.SetHeader(RichViewHeader.RVData);
RichViewMain.RTFReadProperties.SetFooter(RichViewFooter.RVData);
RichViewMain.SaveRTF(FFileName, False);
when i set the TRVStyle of all three RichViews (RichViewMain, RichViewHeader, RichViewFooter) to the same TRVStyle, it works, but then the saved file has white text with red bg...