C++ Builder 2007
Are there any pointers about using these components in Modal forms?
I have an TLMDStorXMLVault component on a DFM that all my forms link to. For non-modal windows everything works automatically. But with modal windows, where I am using both LMDStorFormStorage and LMDStorPropertiesStorage components I cannot find a way to make them work properly.
One of my modal forms is complex, with many controls on it. If I have LMD storage components active on it I often get AVs after I close the form. I have tried letting the components save their properties automatically or manually in the OnClose event and in the OnCloseQuery event but, in all cases, they seem to introduce problems after the window is closed.
It's not practical to create a sample app to demonstrate this as there's a lot of database and background threaded processing involved.
But when I am testing the system, it is 100% stable without the Storage controls being active on the Modal window but prone to freezing or AVs when the Storage controls are enabled, especially after the modal form is closed.