Disable menu Item
Sundara Manikandan
Chennai
Hi Alex,
How to disable the save as menu option at runtime?
How to disable the save as menu option at runtime?
Comments
Try this code
use the code above before loading your report ...
Hi,
The above code disables the save and save as menu items.
But I want to disable only the " Save as " menu item.
Any ideas ?
Also I have another doubt. If I load a report from a database, modify it and then click save, will the report be saved in the respective database ?
This code will make " Save as" menu inactive ..... NOT disable
by adding a custom code , for the "save", "save as" menu
2) NO the saved report will not saved back to database , you need to add some code for doing that ...
Like : convert report to string, o stream , and update the database through "FastReportSetting_CustomSaveReport" function in the previous code
Hope this help
Thanks. I will give it a try and reply back.
One more doubt.
Is it possible to hide the code window in the designer?
(I don't want my users to alter the code or even view it.)
No, it's not possible.
Hi Alex,
That's very disappointing.
Is there any work around?