Forum > LazReport

[Solved] Is there a way to exclude the save to frp option in the save button


In the reports of my programs I always include the exportPDF option but users often don't pay enough attention and expect to save their report as pdf but instead saved it as frp. For an end user the frp format has no meaning as he cannot read it like a pdf.
Is there a way to exlcude the save as frp option from the reports save button?

After investigating the sources of lazReport I found out there is an option 'roHideDefaultFilter' in the report.
If you set this option to True then the Save button in the report preview will no longer show the possibility to save the preview as frp file.
Simple if you know it but it took me a while to discover the options meaning.


[0] Message Index

Go to full version