I'm using IP3K and Delphi5. I'm wondering how can i include a custom component that i found on the web to be printed in a Report? I intend to create this dynamically during a DetailBandBeforeGenerate event.
Depending on the complexity of the component, adding a new one to a report can be fairly simple. Please take a look at the demo located in the \RBuilder\Demos\6. RCL\... directory for a good example of adding a new component (in this case the checkbox) to ReportBuilder.
I've tried to use dclRBU75.dpk and rbUSER75.dpk to add the component to Delphi but i get this error message:
Package c:\d5\projects\bpl\rbuser75.bpl can't be installed because another package with the same base name is already loaded. (C:\windows\system32\rbUSER75.bpl).
First i want to add the custom component myChkBox.pas to the package to see how its done. Then only i wish to derive another custom component from TDBImage.
The dclRBU75 package is already loaded into your Delphi IDE when you install ReportBuilder so you have access to the checkbox immediately. This component was purposefully separated out of the main app to show how easily a new component can be added. You can go into the Installed Packages in Delphi and remove the existing dclRBU75 package if you want to see how installing the component works.
Comments
Depending on the complexity of the component, adding a new one to a report
can be fairly simple. Please take a look at the demo located in the
\RBuilder\Demos\6. RCL\... directory for a good example of adding a new
component (in this case the checkbox) to ReportBuilder.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I've tried to use dclRBU75.dpk and rbUSER75.dpk to add the component to
Delphi but i get this error message:
Package c:\d5\projects\bpl\rbuser75.bpl can't be installed because another
package with the same base name is already loaded.
(C:\windows\system32\rbUSER75.bpl).
First i want to add the custom component myChkBox.pas to the package to see
how its done.
Then only i wish to derive another custom component from TDBImage.
Please advice..
Warm Regards,
Noobs
The dclRBU75 package is already loaded into your Delphi IDE when you install
ReportBuilder so you have access to the checkbox immediately. This
component was purposefully separated out of the main app to show how easily
a new component can be added. You can go into the Installed Packages in
Delphi and remove the existing dclRBU75 package if you want to see how
installing the component works.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com