Hi Everyone. I'm using the TFileStream component with the next code to save the content of a StringGrig:
[code]TFileStream *file;
try {
file = new TFileStream("ProgConfig.cfg", fmCreate | fmShareExclusive);
file->WriteComponent(Grid);
}
__finally {
delete file;
}[/code]
Well, this only save the configuration of the StringGrid and not the information i type. I mean, when i load the file saved, only the format and rows created apear and not the content. Whats worng?
Thanks in advance.
Comments