digitalmetaphors
Comments
-
What is probably is happening is that the OnTraversal is firing too often.
It will fire everytime the data pipeline moves its record position. It will
fire when the report engine moves forward or backward in the dataset in
order to c… -
You cannot modify the interface sections of classes and use the distributed
RAP dcus. If you change any forms you won't be able to use the RAP dcus
either. What you should do is to register your own forms. All TppForm
descendents in… -
Begining with RB 7, you should be able to design reports with teecharts at
delphi design time. Then you should be able to compile your app (with or
without using runtime packages) and print these reports. If you want to use
the teech… -
You can download using http from our tips directory now. Here is an example
of priting in batches:
http://www.digital-metaphors.com/tips/PrintingInB… -
Use a TppVariable and use its OnCalc event handler.
Cheers,
Jim Bennett
Digital Metaphors
------------------------------------------------------------------------
TECH TIP: Performing Calculations
---… -
Thanks for the example. Many of the data access components were custom, so
the form did not load.
However, I did put together an example that prints a report directly to the
printer while showing the cancel dialog. Seems to work… -
Can you send us a test project that shows this problem? Send it to
support@digital-metaphors.com
Here's my code that worked fine.
procedure TForm1.Button1Click(Sender: TObject);
begin
ppReport1.PrinterSet… -
Thanks for pointing this out. It will be fixed for the next release!
Cheers,
Jim Bennett
Digital Metaphors
-
A patch is available to correct this problem. Email
mailto:support@digital-metaphors.com I'm emailing the patch to both of you.
Cheers,
Jim Bennett
Digital Metaphors
-
Yes, it shows up if you modify demo # 91. Thankyou for reporting it. We'll
work on a fix.
Cheers,
Jim Bennett
Digital Metaphors
-
You can use full text width justification in any version of RB. You have to
purchase Infopower or WPTools rich edit component. The richt text component
that ships with RB is Delphi TRichEdit based. Once you have one of the two
3rd p… -
Thankyou for the suggestion!
Cheers,
Jim Bennett
Digital Metaphors
-
This depends on the Subreport.PrintBehavior property.
If you are using section style subreports, then set the subreport's ZOrder
to determine the print order. Use the BringToFront/SendToBack to control
this on the subreports.
We've researched this some more and found out what was happening. We'll have
this fixed for the next maintenance release for Teechart support. First,
make sure Series is in the uses clause. This will solve the problem when
using Tee…Thanks for pointing this out. If you add a registration call in your form
unit so that you can get around the error until we can research it further.
uses
Series;
initialization
RegisterClass(TBarSeries);
Make sure you have Series in your uses clause.
Cheers,
Jim Bennett
Digital Metaphors
You have two options, one is to open up every form and set this property on
the report in the object inspector.
The second option is to revert the behavior to the old way. You should be
able to open up ppProd.pas in your RBuild…In RB 7, we added the PreviewFormSettings to the Report. This is the new
way to configure your report preview forms. If you created a TppPreview
descendent and are wanting to use this to maximize its parent
TppPrintPreview form, the…In the future, if you do come up with an example which does show the error
repeatedly, then please send it to us and we'll see if it is a problem in
our code.
Cheers,
Jim Bennett
Digital Metaphors
We haven't seen this behavior before. It may have been related to the fact
that you just dropped the memo in a region. If it is reproducable can you
tell us how to reproduce it?
Cheers,
Jim Bennett
Digital…You need to set ParentDataPipeline to true on the data aware components in
the report. This way the data pipeline assignment will be automatically
hooked back up to each data aware control when you reconnect the data
pipeline to the …You can delete the pipeline and drop a new one on the form. The fields
should be automatically recreated when it is connected to the dataset. That
would be the quickest way to make sure that it gets all the fields.
Cheer…What are you event handlers doing in this report? Can you test with our demo
reports projects? Can you isolate the problem from one report? If your
report is regenerating for the printer, then make sure you are resetting
your Delphi…Use a TppVariable and code its OnCalc event handler. Don't use Delphi
variables.
Cheers,
Jim Bennett
Digital Metaphors
------------------------------------------------------------------------
TE…You can't change the height of a band if the band is a dynamic height band.
It will jsut resize itself after you set the height. Stick with the bottom
offset property.
Cheers,
Jim Bennett
Digital Metaphors
…If you want to insert some white space, set the BottomOffset property of a
band or subreport.
If you would like to show a subreport on a new page, you can use the
subreport's title band and set that band's NewPage property to tr…RB copies the settings of the margins that are set on the printer setup's
page definition. We don't try to limit what can be set. If you use
GetDeviceCaps you can determine:
PHYSICALOFFSETX For printing devices: the distance …RB was not threadsafe in 6.03. If you want to use DADE and RAP in a
threaded environment then you'll definitely want to use RB 7 as they were
not threadsafe in RB 6.03.
Cheers,
Jim Bennett
Digital Metaphor…No problem, I didn't know it worked this way either. I just had a hunch
that it could be the order causing the problem, so I created a test project
and coded it both ways to find out. I learned something new too.
Cheers,<…You need to say #13#10, not #10#13. Test it on a Delphi TRichEdit on a
TForm:
RichEdit1.Lines.Add('Hello World.' + #13#10 + 'I am Zoltan.' + #13#10 +
'Take me to your leader.');
Versus:
RichEdit1.Lines.Add…