User 48b145d3f5
22-11-2011 18:41:31
Dear ChemaAxon support,
I am using msketch as an API and I have enabled the transfer button to close msketch. However, when I click that transferbutton or the close button I get a message dialog asking whether I would like to save the molecule. What parameter should I set to remove this message dialog?
Thanks,
Francesca
ChemAxon a3d59b832c
23-11-2011 16:29:29
Dear Francesca,
I have moved your question to the Marvin forum where my colleagues will answer soon.
Best regards,
Szabolcs
ChemAxon a3d59b832c
23-11-2011 16:33:35
ChemAxon 990acf0dec
25-11-2011 10:57:54
Dear Francesca,
If you used our sample code ( http://www.chemaxon.com/marvin/examples/applets/view/transfering.html ) to set the appropriate parameters, then look for this line in your code:
mview_param("confirmTransfer", "true")
and just remove it. The confirmTransfer parameter sets the confirmation dialog visible. By default, it is false (hidden).
If you can't find this line, please insert
mview_param("confirmTransfer", "false")
I hope this setting will solve your problem.
Best regards,
Akos
User 48b145d3f5
25-01-2012 21:26:51
Hi Akos,
I am using mketch as an API, so I've tried to change the code by adding:
msketch.setParams(
"transferButtonVisible=true\n"+"confirmTransfer=false");
but it still asks me if I would like to save the compound. Is there something else I could do to resolve this?
Thank you,
Francesca
ChemAxon f052bdfe3c
01-02-2012 12:39:00
Dear Francesca,
Sorry for the late reply.
Could you try "msketch.setConfirmExit(false);" , please?
Best Regards,
Efi
User 48b145d3f5
02-02-2012 18:27:25
Thanks! That solved the problem