Page 1 of 1

Disable designer save as dialog when click on X

Posted: Tue Jan 21, 2020 4:07 pm
by codemonkey
Hello!

I load the designer controls into a panel in my form and disabled lots of not needed gui elements but i can“t figure out how to disable the "Want to save the changes in *.mrt?" messagebox when clicking on the top right X.
Loading and Saving is completely handled by my application because reports are stored in a sql database including additional information like how to fill the variables.

Thank you for your help in advance!

Re: Disable designer save as dialog when click on X

Posted: Thu Jan 23, 2020 8:37 pm
by HighAley
Hello.

You could disable this dialog using the StiOptions.Designer.DontAskSaveReport option.
Just set this option to True.

Thank you.

Re: Disable designer save as dialog when click on X

Posted: Fri Jan 24, 2020 1:01 pm
by codemonkey
Perfect!
Thank you!

Re: Disable designer save as dialog when click on X

Posted: Sat Jan 25, 2020 12:03 pm
by Lech Kulikowski
Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.