[Lazarus] StringGrid.LoadFromFile not loading col and row sizes
Salvatore Coppola
coppolastudio at gmail.com
Thu Aug 16 11:22:43 CEST 2012
2012/8/13 Jürgen Hestermann <juergen.hestermann at gmx.de>:
> When I store a StringGrid with
>
> StringGrid1.SaveOptions := [soDesign,soPosition,soAttributes,soContent];
> StringGrid1.SaveToFile(filename);
>
> and reload it later with LoadFromFile() it does not reload the column widths
> and row heigths.
> I can see that they are stored in the XML file but are ignored on loading.
> Am I doing something wrong?
>
Are you setting
StringGrid1.SaveOptions := [soDesign,soPosition,soAttributes,soContent];
before
LoadFromFile() ?
Salvatore
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
More information about the Lazarus
mailing list