TDBGrid.SavetoFile - How does one set Options? lazarus / 16-Databases ---------------------------------------------------------------------- Wes · 2009-11-06 17:43 Hi, I would like to save order of the columns in a dbgrid.  I thought I would be able to do this with dbgrid.savetofile('griddata.xml'). However, the saved file contains only:         TStringGrid has  .SaveOptions,  But if TdbGrid does, I can't find it. Could someone tell me what I doning wrong? The reason I want to do this, so that if columns are moved or resized, they can be saved and restored the next time the program is run. Thanks in advance.  Wes ---------------------------------------------------------------------- bluewolf · 2009-11-07 17:49 Apparently this seems to be a bug in TDBGrid. Differently from TStringGrid and generic class TCustomGrid it seems that the property SaveOptions is an empty set. However I'm quite new to Lazarus and I might be wrong. Maybe someone else can give an additional advice. ---------------------------------------------------------------------- bluewolf · 2009-11-08 18:14 Hi Wes, I have reported the bug # 0015033 on bugtracker about this problem. Alberto. ---------------------------------------------------------------------- Wes · 2009-11-09 12:44 Alberto, Thank you for reporting the bug.  I wasn't familiar with the reporting procedures.  Also, I wanted to make sure I hadn't overlooked something simple.  It's happened before.  Thanks again, Wes ---------------------------------------------------------------------- bluewolf · 2009-11-09 17:41 Wes, to be honest it is my first bug report.