Quick question - Runtime Access

Hi
How could i access my Report's RichView1 component from Delphi at runtime?
I want to access its properties from Delphi code...
Access to report's components @ runtime ...

hope u have understood me...

thanks... ;)

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:26PM
    afterloading report and before prepareing or showing use findobject method
    frreport1.finobject('objname');
    or in frreport component's on before print eventhandler
    if view.name = 'nameofobject then
    begin
    with classname(view)do
    retrieve props here
    either way you must declare variables of the correct type to hold the values you retrieve.
    ;)

Leave a Comment