digitalmetaphors
Comments
-
Ivan,
Please either submit to the newsgroup or email support if it's the same
question, but not both. Thanks.
Here is an earlier reply to the query.
------------------
To find out where the report is curren… -
You can create a custom component the either descends from TppLine or
TppCustomGraphic. Lines are rendered as this rectangles. If you descend from
TppLine then you should only have to override the PaintDesignControl and
PropertiesToDr… -
Can you print fine if you set the DeviceType to a non-TExtraDev device,
something like Text? If so then this is a TExtraDev issue. You can of course
simply build with range-checking turned off as this doesn't see like a fatal
error; b… -
Is your library path set properly so that Delphi can find the TeeChart
units?
--
Cheers,
Alexander Kramnik
Digital Metaphors
-
----------------------------------------------
Tech Tip: Resolving Compile Error w\TeeChart
----------------------------------------------
When using TeeChart and ReportBuilder in Delphi you will encounter this
error … -
You can send us the report. We can trace through the convert routines even
though we can't actually run the report over data.
Cheers,
Jim Bennett
Digital Metaphors Corp.
-
Can you send us the report- we can run it here in 6.03 to see why it isn't
converting. Please send it to support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors Corp.
-
We would normally install 5.55 to test this, but unfortunately, last week we
lost all of our installation programs from our network and we are currently
attempting to recover them from backups but have been unable to recover them
at t… -
This is charwrapping. The string is wrapped based on individual characters,
not expressions. You can either write your own wrapping logic or insert
spaces into the string to break up the expressions and use wordwrapping.
--
Reconnect the event handler after loading the template using the
Report.Template.OnLoadEnd event.
procedure TForm1.LoadEndEvent(Sender: TObject);
begin
ppReport1.OnPreviewFormCreate := PreviewFormCreateEvent;
end;
Yes, please send it to support@digital-metaphors.com, thanks.
--
Cheers,
Alexander Kramnik
Digital Metaphors
You wouldn't want to assign headers exactly like this. However, this
approach might work for you as you have described it. Since you have two
header band objects, you could loop through the target header band and free
all of the cont…Templates and inheritance do not mix. Anyway, let's save the subreport idea
for future report solutions. To convert your 45 reports, you can
sequentially load the 45 templates into one report object. When the report
template is loa…The point that I should have made more clear is that you do not have to
rebuild your 45 reports by hand. You can write a program to load the
reports and change the header bands in code. You can either change them
this one time for t…The solution is to use a TppSubreport in the header and dynamically load the
template in to the subreport for the header content. This is demonstrated
in the RBuilder\Demos\EndUser\DynamicSubreportLoading project. You could
take thi…Check your code to see if there are any places where the button could be
getting nilled out. Try following the progress of the program by stepping
over code from the point where the button gets created. It's possible that
for some rea…At what point are you setting this property. I would recommend doing it in
the Report.OnPreviewFormCreate event. btw. what is 'blnPrintVisible '.
PS. The getter could be simplified as below:
Result := (FBtnPrint<> …Why no just add a public property to your customized form which you can
toggle to specify whether the button should be shown. Then you don't have to
worry about switching up forms and only use one.
--
Cheers,
Ale…Check out the demo below for an example of customizing the preview.
http://www.digital-metaphors.com/tips/CustomPreview.zip
--
Cheers,
To force a page break after each detail you can:
1. Create a group around the detail band, set it on a custom invisible
label, and implement the OnGetText event of the label returning a different
value every time.
2. Get th…Make sure you're using printer fonts, though I would imagine courier 10
would be. If different fonts dont help you might have to try a different
printer driver.
--
Cheers,
Alexander Kramnik
Digital Metaphors…If you've followed all the tips in the article there isn't much else you can
do to speed up printing. You could always print to a text file and then
print the text file which could be quicker. Don't forget also that the
report is rege…You can generate the report.PassSetting to psTwoPass. This way the report
will generate all pages when the screen preview is first displayed. Use the
Group.AfterGroupBreak to read the Report.AbsolutePageNo to get the ending
page num…Here is a demo whichs allows you to print select number of pages in batches:
http://www.digital-metaphors.com/tips/PrintingInBatches.zip
<…The calculation seems correct. I am assuming the height of the detail band
is static? Put this code in in the BeforePrint event of the detail band.
--
Cheers,
Alexander Kramnik
Digital Metaphors
Everything's possible
We'll keep that in mind. Thanks.
--
Cheers,
Alexander Kramnik
Digital Me…How are you attempting to do it? You want the var positioned in the bottom
right hand corner of the footer band in either case. So all you need to do
is figure out what that corner is. The bottom right corner of the band will
be the t…You can do this by grouping in your main report, drop a subreport into the
detail band, and create columns within the subreport. This way you can
display the text across the entire columns span outside the context of the
columned repo…Setting Stretch and Maintain Aspect ration to true should do the trick. Then
if the image is wider than taller set the orientation to landscape, else to
portraint and size appropriately. Don't forget to take into account margins
which…Create a calculated field. Select the Calcs tab of the data view, double
click a field, select Expression for function type and enter Field1 + ' ' +
Field2 for the Expression.
--
Cheers,
Alexander Kramnik
Di…