W
wlm_8888
Unregistered / Unconfirmed
GUEST, unregistred user!
steam_temp:=TMemoryStream.Create;
steam_sum:=TMemoryStream.Create;
RxRichEdit1.Lines.SaveToStream(steam_temp);
steam_sum.Position:=0;
steam_temp.Position:=0;
steam_sum.CopyFrom(steam_temp,steam_temp.Size);
steam_temp.Clear;
RxRichEdit2.Lines.SaveToStream(steam_temp);
steam_temp.Position:=0;
steam_sum.Seek(0,soFromEnd);
steam_sum.CopyFrom(steam_temp,steam_temp.Size);
RxRichEdit2.Clear;
steam_sum.Position:=0;
RxRichEdit1.Lines.LoadFromStream(steam_sum);
我的两个内存流怎么合不到一块,我弄了两天了,弄不出来,谁给看看
steam_sum:=TMemoryStream.Create;
RxRichEdit1.Lines.SaveToStream(steam_temp);
steam_sum.Position:=0;
steam_temp.Position:=0;
steam_sum.CopyFrom(steam_temp,steam_temp.Size);
steam_temp.Clear;
RxRichEdit2.Lines.SaveToStream(steam_temp);
steam_temp.Position:=0;
steam_sum.Seek(0,soFromEnd);
steam_sum.CopyFrom(steam_temp,steam_temp.Size);
RxRichEdit2.Clear;
steam_sum.Position:=0;
RxRichEdit1.Lines.LoadFromStream(steam_sum);
我的两个内存流怎么合不到一块,我弄了两天了,弄不出来,谁给看看