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
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
Designer is global only one per project allowed.
regards
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
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