I'm using TStringgrid and instantiating objects (notes, labels, shapes, etc.) during program execution. The stringgrid.SaveToFile works beautifully for saving and restoring the grid and cell contents, but doesn't save the created objects. Is there a similar way to save created objects from the form? I have not yet discovered where the object info is stored. It should be accessible from the program, but I'm not finding it. If not, I'm guessing I can create a set of object names as they are created, and append the object properties to the XML file created by stringgrid. Then I can create an XML restore procedure to import the saved data. The objects are children of the grid and need to be restored to their grid locations. I will be taking a look at the SaveToFile procedure to get some ideas, but thought I'd ask the experts first.
Any suggestions will be greatly appreciated. I have "Learning to Program Using Lazarus" and "Lazarus The Complete Guide" so I just need a gentle nudge in the right direction. Thanks,
Gary