create components
I have a datapipeline master with the number of pages and for each page i
know all the images of the page with the custum position.
before i remove previous custom tppimages components and than recreate with
the data of the new page.
I need to create many tppimage components for a detail band at run time ...
but in the other pages i need
to destroy thats image and create new different images in different
position, where i can set my code for creation and
destruction ? i try in before print or before generate of my detail but
image are not printed..
Cheers
Giacomo
know all the images of the page with the custum position.
before i remove previous custom tppimages components and than recreate with
the data of the new page.
I need to create many tppimage components for a detail band at run time ...
but in the other pages i need
to destroy thats image and create new different images in different
position, where i can set my code for creation and
destruction ? i try in before print or before generate of my detail but
image are not printed..
Cheers
Giacomo
This discussion has been closed.
Comments
The DetailBand events fire too late to create and add an image component.
Instead of destroying the old images and recreating new ones, why not simply
resize and position the old images and reset their TppImage.Picture property
so the new images are shown. If this is too difficult in your situation,
you may need to add all the images before the report prints and toggle the
Visibility property of each image depending on which page you are on.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com