Control TFileStream

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);
__finally {
delete file;

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.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion