How to save component to stream in Delphi

It's very simple. Just drop TFormSaver component onto your form, set DataFormat property and call the SaveComponentToStream method.

cmpFormSaver.SaveComponentToStream(YourStreamObject,YourComponentToSave);
See also
Form Saver
Components for Delphi / C++ Builder
Howtos for Programmers