I would suggest first getting this working in Delphi, then moving the code to RAP. Once you create the TppDBText object, you can assign its band using the DBText.Band property. For more information on creating a report completely in code, see the Developer's Guide tutorials.
It is not possible to create a new event handler from RAP however it is possible from Delphi. You could create a passthru function to do this if needed. Take a look at demos 41 and 42 in the main RAP demo for an example of creating event handlers in Delphi code.
Comments
I would suggest first getting this working in Delphi, then moving the
code to RAP. Once you create the TppDBText object, you can assign its
band using the DBText.Band property. For more information on creating a
report completely in code, see the Developer's Guide tutorials.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
information about to create a procedure event
thanks.
It is not possible to create a new event handler from RAP however it is
possible from Delphi. You could create a passthru function to do this
if needed. Take a look at demos 41 and 42 in the main RAP demo for an
example of creating event handlers in Delphi code.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com