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 7:31AM
    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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.