Code: Select all
SRichViewEdit.RichViewEdit.InsertControl('',scaleReportPanel,rvvaAbsMiddle);
Code: Select all
...
// blob
SRichViewEdit.RVHeader.SaveRVFToStream(msHeader,false);
SRichViewEdit.RichViewEdit.SaveRVFToStream(msBody,false);
SRichViewEdit.RVFooter.SaveRVFToStream(msFooter,false);
TBlobField(FieldByName('blobContentHeader')).LoadFromStream(msHeader);
TBlobField(FieldByName('blobContentBody')).LoadFromStream(msBody);
TBlobField(FieldByName('blobContentFooter')).LoadFromStream(msFooter);
if ApplyUpdates<>0 then raise Exception.Create(RowError.Message);
...
Code: Select all
...
TBlobfield(FieldByName('blobContentHeader')).SaveToStream(msHeader);
msHeader.Position:=0;
SRichViewEdit.RVHeader.LoadFromStream(msHeader,rvynaNo);
SRichViewEdit.RVHeader.ReformatAll;
TBlobfield(FieldByName('blobContentBody')).SaveToStream(msBody);
msBody.Position:=0;
SRichViewEdit.RichViewEdit.LoadFromStream(msBody,rvynaNo);
SRichViewEdit.RichViewEdit.ReformatAll;
TBlobfield(FieldByName('blobContentFooter')).SaveToStream(msFooter);
msFooter.Position:=0;
SRichViewEdit.RVFooter.LoadFromStream(msFooter,rvynaNo);
SRichViewEdit.RVFooter.ReformatAll;
...