Is is possible to show a message on closing the end-user report designer window is the report has been modified? Something like "You must save changes before closing this window" message, if the report have benn not saved.
I recently asked the same question. Nard's reply was:
If you set Report.SaveAsTemplate to True, the ReportDesigner will ask the user whether to save changes. I recommend only using the SaveAsTemplate property at runtime (i.e. do not set to true for Delphi design-time.)
The RBuilder\Demos\EndUser\ReportExplorer contains an example of using this property.
Comments
If you set Report.SaveAsTemplate to True, the ReportDesigner will ask the
user whether to save changes. I recommend only using the SaveAsTemplate
property at runtime (i.e. do not set to true for Delphi design-time.)
The RBuilder\Demos\EndUser\ReportExplorer contains an example of using this
property.
The order that you do this is important too.
Jim
If they click "Yes" to save changes, it will overwrite the existing file.
I want to show the "Save As" dialog if user click "Yes".
Is it possible?
"Jim Cullison" escribi? en el mensaje