Page 2 of 3
Re: Don't show save dialog
Posted: Fri Oct 16, 2015 11:08 am
by hugo
OK, thank you very much.
Have a nice weekend.
Re: Don't show save dialog
Posted: Fri Oct 16, 2015 12:35 pm
by Andrew
You too, Hugo!
Re: Don't show save dialog
Posted: Tue Oct 20, 2015 8:10 am
by hugo
Hi Andrew,
I tested the event.cancel = true;
Indeed event.cancel = true avoids saving the file to disk (so I can deal with this my self to save only on database) however with event.cancel = true, now is not possible to exit the designer.
How to workaround this ?
Re: Don't show save dialog
Posted: Tue Oct 20, 2015 2:59 pm
by Vladimir
Hello Hugo,
We have carefully reviewed the code and the chain of events of the report designer - our solution was wrong. You cannot cancel the save event, because it depends on other actions.
We made the changes and added a new option:
Code: Select all
StiOptions.designer.saveReportToDisk = false;
The save and exit in the AIR designer works correctly.
The update will be available in the next build.
Thank you.
Re: Don't show save dialog
Posted: Tue Oct 20, 2015 4:09 pm
by hugo
Hello Vladimir,
OK, I will use the new solution.
For when you predict the next release?
Thank you.
Re: Don't show save dialog
Posted: Wed Oct 21, 2015 7:09 am
by HighAley
Hello.
Our next release is planned on December.
The prerelease builds are published each Friday.
Thank you.
Re: Don't show save dialog
Posted: Wed Oct 21, 2015 8:43 am
by hugo
Hello,
I meant prerelease.
OK it's around the corner (3 days) the next build.
Thank you.
Re: Don't show save dialog
Posted: Wed Oct 21, 2015 9:50 am
by HighAley
Hello.
Yes, our next prerelease build will be available on Friday.
Let us know if you need additional help.
Thank you.
Re: Don't show save dialog
Posted: Fri Oct 23, 2015 9:10 pm
by hugo
Hello,
I tested the StiOptions.designer.saveReportToDisk = false; but unfortunately does not work. It always try to save to disk.
Re: Don't show save dialog
Posted: Mon Oct 26, 2015 7:53 am
by Vladimir
Hello Hugo,
We checked the option on Stimulsoft Reports.Flex 2015.2.3 build, option works correctly - 'Save' does not save the file to disk. Only 'Save As'.
Please send us a test project, perhaps we have not considered something.
Thank you.