1 (edited by ms2014m 2023-07-01 00:03:53)

Topic: hide this / AUTO REFRESH

When previewing the report before printing, a bar appears at the top that I want to hide

I use the program via sharing in the internal network, but when saving the data in the first device, it is not displayed in the second device, except after pressing the search button. Is there a way to make an automatic update?

Post's attachments

Attachment icon PROJECT.rar 304.15 kb, 96 downloads since 2023-07-01 

2 (edited by sparrow 2023-07-01 14:27:27)

Re: hide this / AUTO REFRESH

begin
//  add.frxReport.PreviewOptions.Buttons := pbnoclose;  // hide all buttons

//  add.frxReport.PreviewOptions.Buttons := pbzoom; // show only zoom and close buttons
end.

Re: hide this / AUTO REFRESH

sparrow wrote:
begin
//  add.frxReport.PreviewOptions.Buttons := pbnoclose;  // hide all buttons

//  add.frxReport.PreviewOptions.Buttons := pbzoom; // show only zoom and close buttons
end.


Thank you Could you apply it inside the attachment

Re: hide this / AUTO REFRESH

this code not work any way to play code

Re: hide this / AUTO REFRESH

1. Delphi uses // for a single line comment and both {} and (**) for multiple line comments.
    Any text following // or enclosed with (* *) or {} are ignored by DelphiScript.

2. Delphi script structure:

procedure ...;
begin
    …
end;

procedure ...; //or function ...;
begin
    …
end;
  
begin
  …
end.
Post's attachments

Attachment icon script_overview.jpg 97.68 kb, 21 downloads since 2023-07-09 

Re: hide this / AUTO REFRESH

Screen

Post's attachments

Attachment icon prntscrn.jpg 20.46 kb, 26 downloads since 2023-07-09 

Re: hide this / AUTO REFRESH

Can you apply this to the attached program and re-upload it again, please

Re: hide this / AUTO REFRESH

file

Post's attachments

Attachment icon script.pas 129 b, 67 downloads since 2023-07-09 

Re: hide this / AUTO REFRESH

Thank you very much
Everything now works fine

Re: hide this / AUTO REFRESH

Is there a solution to make the schedules do an automatic refresh, because when sharing the program, a manual refresh must be done to show the updates