I have used XMLConfig to store form size and some component values to xml file.
But I got in trouble when I had to save checklistbox to file.
Checklistbox is not fixed, user can add and delete items.
How I would like to see this in XML (checklistbox holds "destinations" items for different DSNs):
<?xml version="1.0" encoding="utf-8"?>
<CONFIG>
<DSN>
<Name>DSN1</Name>
<Include>0</Include>
<Destination>
<Number>123456789</Number>
<Checked>True</Checked>
</Destination>
<Destination>
<Number>234567890</Number>
<Checked>False</Checked>
</Destination>
<Destination>
<Number>345678901</Number>
<Checked>True</Checked>
</Destination>
</DSN>
<DSN>
<Name>DSN2</Name>
<Include>2</Include>
<Destination>
<Number>456789012</Number>
<Checked>True</Checked>
</Destination>
<Destination>
<Number>567890123</Number>
<Checked>False</Checked>
</Destination>
</DSN>
</CONFIG>
But I can't achieve this with TXMLConfig.
I have hear about TXMLFile which seems to do work in an easy way (
https://sourceforge.net/p/xmltreeeditor/wiki/Home/), but I can't find where to get it.
Other components like TXMLDocument seems not easy for the first glance... but of course I will do if there is no simpler way.
So, what is the proper way for solving this task?