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:
<?xml version="1.0"?>
<CONFIG>
<grid version="3">
<saveoptions create="False" position="False"/>
</grid>
</CONFIG>
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