about oldStyleProgress ???

We have one report with 300 pages and when we call frReport.PrepareReport it need some time!

the project is mdi application:
frxReport.PreviewOptions.MdiChild:=True;
frxReport.PreviewOptions.Modal:=True;

frxReport.oldStyleProgress:=true;

use frReport.PrepareReport,Can view the progress,User can click cancel button stop the report,but user can click application mainform control ,other form , I'm hope same to FR2.5X,the progress windows is modal ,user can't click other forms,


thank ,Sorry,My english is very pooR!

Comments

  • edited 2:22PM
    I'm now chang source,Fix the problem(bug)

    procedure TfrxProgress.FormCreate(Sender: TObject);
    begin
    CancelB.Caption := frxGet(2);
    FActiveForm := Screen.ActiveForm;

    if FActiveForm <> nil then
    FActiveForm.Enabled := False;
    //Wise Add
    if Application.MainForm <> nil then
    Application.MainForm.Enabled := False;
    Bar.Max := 100;
    Position := 0;
    end;


    procedure TfrxProgress.FormDestroy(Sender: TObject);
    begin
    if FActiveForm <> nil then
    FActiveForm.Enabled := True;
    //Wise Add
    if Application.MainForm <> nil then
    Application.MainForm.Enabled := True;
    end;

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.