Delete frxComponent from report programmatically
Hello,
I'm creating some memo views on runtime and keeping tabs in a list.
Before I prepare the report, I want to clear the list, freeing the objects and I would like them to be removed from the report. Alas, freeing a TfrxComponent apparently does not remove it from the report.
I've tried with frxReport1.RemoveComponent, but it doesn't work (when I create the objects again I can see them overlapping, and also some unrelated objects in the report disappear)
How can I delete an object from a report?
I'm creating some memo views on runtime and keeping tabs in a list.
Before I prepare the report, I want to clear the list, freeing the objects and I would like them to be removed from the report. Alas, freeing a TfrxComponent apparently does not remove it from the report.
I've tried with frxReport1.RemoveComponent, but it doesn't work (when I create the objects again I can see them overlapping, and also some unrelated objects in the report disappear)
How can I delete an object from a report?
Comments