{"id":483,"date":"2023-06-20T00:28:52","date_gmt":"2023-06-20T00:28:52","guid":{"rendered":"http:\/\/basicwebsitesolutions.com\/blog\/?p=483"},"modified":"2023-06-20T00:28:54","modified_gmt":"2023-06-20T00:28:54","slug":"delphi-6-quickreport-removing-or-disabling-the-save-and-load-buttons-during-preview-solved","status":"publish","type":"post","link":"https:\/\/basicwebsitesolutions.com\/blog\/2023\/06\/20\/delphi-6-quickreport-removing-or-disabling-the-save-and-load-buttons-during-preview-solved\/","title":{"rendered":"Delphi 6 + QuickReport &#8211; Removing or Disabling the Save and Load Buttons during preview [solved]"},"content":{"rendered":"\n<p>This has been an age old question that one needs to tackle if you have clients that want to control data coming in and out of the company.<\/p>\n\n\n\n<p>That is why I am quite happy and relieved to have found it as well.<\/p>\n\n\n\n<p>Without further adue, here it is<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>uses\r\n, QRPrntr, QRPrev;\r\n\r\nprocedure TqrpLabelGrader.QuickRep1Preview(Sender: TObject);\r\nvar\r\n  qrStandardPreview: TQRStandardPreview;\r\nbegin\r\n  \/\/, QRPrntr, QRPrev;\r\n  qrStandardPreview:=TQRStandardPreview.CreatePreview(Self, TQRPrinter(Sender));\r\n  qrStandardPreview.SaveReport.Enabled := False;\r\n  qrStandardPreview.LoadReport.Enabled := False;\r\n  qrStandardPreview.Show;\r\nend;<\/code><\/pre>\n\n\n\n<p>Enjoy<\/p>\n\n\n\n<p>Coffee Cup<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Delphi 6 + QuickReport &#8211; Removing or Disabling the Save and Load Buttons during preview [solved]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,1],"tags":[36,139,305,303,306,282,304],"class_list":["post-483","post","type-post","status-publish","format-standard","hentry","category-day-to-day-life","category-delphi-and-interbase","category-life-as-a-programmer","tag-delphi","tag-delphi6","tag-disable-buttons","tag-load-button","tag-preview","tag-quickreport","tag-save-button"],"_links":{"self":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts\/483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=483"}],"version-history":[{"count":1,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts\/483\/revisions"}],"predecessor-version":[{"id":484,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts\/483\/revisions\/484"}],"wp:attachment":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=483"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}