[Lazarus] StringGrid.LoadFromFile not loading col and row sizes

Reinier Olislagers reinierolislagers at gmail.com
Thu Aug 16 12:27:09 CEST 2012


On 16-8-2012 11:52, Jürgen Hestermann wrote:
> Am 2012-08-16 11:22, schrieb Salvatore Coppola:
>> 2012/8/13 Jürgen Hestermann <juergen.hestermann at gmx.de>:
<snip>
>> StringGrid1.SaveOptions := [soDesign,soPosition,soAttributes,soContent];
>> before LoadFromFile() ?
<snip>
> But now that you wrote it I tried it and yes, this seems to change it!
> Totaly illogical but works.
> Thanks for this information.
> 
> I even added a bug report ( http://bugs.freepascal.org/view.php?id=22640 )
> which can be closed now (can I close it myself somehow?).

IMO this non-obvious behaviour needs to at least be documented.
Added a documentation patch to the issue; please apply if ok.





More information about the Lazarus mailing list