Code: Select all
AnsiString global = "";
TStringList *list = new TStringList();
for (int i == 0; i < list->Count; i++) {
global += list->Strings[i]; //HERE I need to concatenate RVE content in ohter RVE
}
Code: Select all
AnsiString global = "";
TStringList *list = new TStringList();
for (int i == 0; i < list->Count; i++) {
global += list->Strings[i]; //HERE I need to concatenate RVE content in ohter RVE
}
Code: Select all
void AddDoc(TCustomRichView* Source, TCustomRichView* Dest);
{
Stream = new TMemoryStream;
Source->SaveRVFToStream(Stream, false);
Stream->Position = 0;
Dest->InsertRVFFromStream(Stream, Dest->ItemCount);
delete Stream;
}
...
RichView1->Clear();
RichView1->DeleteUnusedStyles(true, true, true);
AddDoc(RVSource1, RichView1);
AddDoc(RVSource2, RichView1);
AddDoc(RVSource3, RichView1);
RichView1->Format();