Delphi stream panel to file
问题 today I've a question about streaming a part of a form to a file. In this example i use a Tmemo instead of file in order to see the stream. here is my form: The panel on the right top of the form has some controls, like label, edit and so on. with the "Save panel" butto I save the panel on a TStream: Here the code: procedure TfrmMain.btnSaveClick(Sender: TObject); var idx: Integer; MemStr: TStream; begin MemStr := TMemoryStream.Create; PanelStr := TMemoryStream.Create; try for idx := 0 to