Marvin.properties in .NET application

User 7eb23419ad

01-03-2016 15:12:49

Hi,


i use the Marvin .NET controls in my application. If i open the marvin editor with double clicking the view control the editor doesn't use the marvin.properties in my user folder, but if i change the size of the editor and close it the marvin.properties are changed. When i open the editor the next time the size is not the same as the changed before closing. So i think the .net editor control doesn't use the marvin.properties.


How i can change the editor control that the marvin.properties in the user folder are used?


Regards,


Tobias

ChemAxon 2e7d8629fa

02-03-2016 14:19:09

 


 Hi Tobias,


 


I'm afraid you cannot use marvin.properties file to initialize our MarvinEditorControl. Furthermore that is a bug when that control overwrites this file. I'm working on these issues and hopefully the next week release (16.3.700) will contain the fixes.


 


Regards,


Gergely

ChemAxon 2e7d8629fa

10-03-2016 15:00:16

 Hi Tobias,


 


Please check the latest release of JChem .NET API what is available here:


https://www.chemaxon.com/download/jchem-suite/#jchemdotnet


 


Regards,


Gergely

User 7eb23419ad

11-03-2016 11:10:02

Hi,


i tested it with the new version. If i change preferences it will be saved in the marvin.properties file. But if i reopen the application, the size is the default size and not the last used size like is saved in the marvin.properties file.


Do i have to change something in the Editor .NET control properties or something else?


Regards,


Tobias

ChemAxon 2e7d8629fa

11-03-2016 11:16:59

 Hi Tobias,


 


I'm sorry, I forgot to mention the new properties what are necessary for your workflow:


marvinViewControl.MarvinEditorView.LoadMarvinProperties = true;
marvinViewControl.MarvinEditorView.SaveMarvinProperties = true;


Please check this solution out.


 


Regards,


Gergely

User 7eb23419ad

11-03-2016 12:22:06

Hi,


now it works.


Thank you

ChemAxon 2e7d8629fa

11-03-2016 13:05:41

Great news. Thank you for the feedback.


Regards,


Gergely