Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Create a JITPipeLine at runtime

edited November 2003 in General
Hi Group,

I want to create a JITPipeline at runtime. If you (for example) creates a
tbutton in runtime, you had to set the parent (form): Button.Parent := form;
Otherwise the button will not appear. If I create my JITPipeLine I cannot
set a parent of type TWinControl. I had to set a parent of type ppRelative.
I don't know wich type this is and I even don't know it will help my
pipeline appear. If I don't set a parent the (assigned) events of my
pipeline will not occur so it seems like its the same problem as the tbutton
who hasnt any parent.

In short words my question: how can I create a JITPipeline in runtime (and
what I have to do before the events will occus, yes of course assign them).

IAMT

Regards,
Hans

Comments

  • edited November 2003
    Hi Hans,

    The JITPipeline does not work like a normal windows control such as a
    button. All you need to do is make sure the Owner is the same as the Owner
    of the report. Remember you will then need to define the fields. See the
    help topics for TppDataPipeline and TppJITPipeline for more information on
    how to create pipelines in code.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2003
    Hi Nico,

    Thanks for help. Yes I now the owner must be the same (in the create).

    I have found my problem, why my reports are all empty and the events are not
    called. I had to (RE) say to the report and its components wich pipeline
    they had to use after Ive destroyed the old one. So the reports are empty
    and not the pipes. My fault.. sorry.

    Bye
    Hans

This discussion has been closed.