digitalmetaphors
Comments
-
The Report.Template.Format property controls this. If you load an ascii
template into a TppReport on a form via the designer component, then when
you save it it will be saved in the format that you have specified on the
Report.Templa… -
When the report is running, use the OnDrawCommandCreate event of the
component to resize the draw command's Height and Width properties. Typecast
the aDrawCommand parameter to be a TppDrawImage.
Cheers,
Jim Benn… -
What draw command does your triangle shape component create in its
PropertiesToDrawCommand? You should create a TmyDrawTriangle draw command.
Then override the TmyDrawTriangle draw command's Draw routine to actually
draw a triangle on… -
I downloaded your pipeline from the IBO website. It looks like the only
difficult part is supporting the bookmark capability in the pipeline over
the IBO dataset. Try removing all the new events, methods and properties in
the download… -
Are you storing the value in Value? Yes, the Compute will get called
multiple times. If you store the value in DBCalc.Value, then the cache
manager will restore the value to the previous one automatically so that
when it fires a secon… -
OnGetText will execute every time the Text property of a component is
referenced. This fires often and more than once per record. Try overriding
the Compute method and store the computation in the value property.
Cheers,There is the AfterPrint events on the band. These fires more than once
across page breaks when the band tries to generate when it can't fit on the
first of two pages.
At the dbText level, you should fire a new event for your cla…Check out the TRichView wrapper from our Friends | RCL section of our
website. This may be something like you're after.
Cheers,
Jim Bennett
Digital Metaphors
There is no "function" to generate a new page, as RB generates pages as it
need them to print detail bands based on the records in the data pipeline.
If you want to design a page based report, then you should use the main
report as a …Where do you want the page? The easiest way to insert page somewhere in the
report is to use a subreport which has its print behavior property set to
pbSection. Copy the header and footer from the main report into the section
subrepo…Is the inherited property ShiftRelativeTo published in your descendent? See
ppMemo.pas for an example of a descendent stretchable component.
Cheers,
Jim Bennett
Digital Metaphors