This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

Property storage to INI breaks for similarly named components

edited August 2013 in LMD-Tools
I am having a problem with a TLMDStorPropertiesStorage component. When I create the form, I receive the following error:
"Error reading edSplitterPos.ionBeforeClose: Property ionBeforeClose does not exist."

The property storage component is set up to store 3 properties:
-edSplitterPos.Text
-edSplitterPositionBeforeClose.Text
-edSplitterState.Text

This error occurs when I store it in an INI, but it works fine when storing it in the registry.

I changed the name of the "edSplitterPositionBeforeClose" to "edTest" and it fixed the error. So it appears that the problem is caused because the component's name begins the same as "edSplitterPos". I think this is a bug.

Thank you.

Comments

  • Yes, this is a known limitation of the Ini-file format. 
    Solution is to use enable in connected IniVault the BinaryStream option - but then unfortunately the readibility of Ini-files is lost.
    We will check for future release whether there is a way to workaround this limitation in a nicer way.
Sign In or Register to comment.