Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SaveToStream

Status
Not open for further replies.

tougo

Technical User
Sep 9, 2002
27
GB
i used in the past and it worked fine

TMemoryStream* pms = new TMemoryStream();
ListBox1->Items->SaveToStream(pms);

pms->Position = 0;
Memo1->Lines->LoadFromStream(pms);
delete pms;

i Wonder is there a way to SaveToStream several Label captions and later call them to the memo1 with LoadFromStream?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top