Error!!! "You have already a TFrDesigner component

Hi :

I receive the following error at design and runtime:
- You have already a TFrDesigner component. It is ocurring since I use a TfrDesigner component in the form. I have only one but it looks like the TfrRepor component creates one. How can I use a TfrDesigner on the form ???

Regards,

Al

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 10:08AM
    Hi
    Designer is global only one per project allowed.
    regards ;)
  • edited 10:08AM
    ok, Then how can I use the TfrDesigner events ??? like OnLoadReport for example. I need to manipulate them to store reports on Blob fields.
    I commented the code that raise that exception and recompile FastReport and works fine. But I think that there is must to be another way to solve that problem.

    Regards,

    Al
  • gordkgordk St.Catherines On. Canada.
    edited 10:08AM
    hi
    use one form to handle all your report components,add in objects etc
    refrence that form from any other form you can also assign and unassign eventhandlers of the designer from code.
    see the demos\reports demo project for an example
    regards ;)

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.