Hi,
Made an app for myself using StringGrid.
I am saving it using the simple code ...
StringGrid1.SaveToFile('myfile.xml');
I am using New, Open, Save, Save As functions on the grid
And I am also using Add/Delete Row.
My issue is that if I have one xml file that has 100 rows and another that has 200 rows.
When I open the file, it doesn't load the file into the grid with the correct amount of rows per xml file.
There is no code in the xml file to specify the row count. I think I need that number to set the "RowCount" of the grid before loading.
Anyone have any ideas and or code on how I can do this easily??
Thanks in advance