Calling .Lock on DesignerForm/Designer > how to 'unlock'?

Hi,

When I call the Lock method on the DesignerForm, how do I properly unlock again?


With regards,

Martijn

Comments

  • gpigpi
    edited November 2021

    See FR's sources:

    <code>

    if UseOnLoadEvent then

       if (frxDesignerComp <> nil) and Assigned(frxDesignerComp.FOnLoadReport) then

       begin

         Lock;

         if frxDesignerComp.FOnLoadReport(Report) then

           ReloadReport else

           ReloadPages(-2);

         Report.EngineOptions.SilentMode := SaveSilentMode;

         DoAfterUpdateReport(fduLoadReport);

         Exit;

       end;

    </code>

    But better don't use embedded designer

  • "But better don't use embedded designer"

    In my case, the report stream needs to be controlled. I've used ReportBuilder before, no problem with the embedded designer there.

    The slow embedded designer is clearly a FastReport issue that needs to be fixed.

  • Is modal designer not slow?

    Can you modify EmbedDesigner to show "slow embedded designer"?

  • the report stream needs to be controlled

    What does this means?

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.