2012/8/13 Jürgen Hestermann <[email protected]>: > 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 > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
