External execution method

How to run an external method to FastReport component at a particular event by calling a method contained in a unit of Delphi?
Example:
Rel.FindObject('SubR').OnBeforePrint := DoOnBeforePrint;

procedure TForm1.DoOnbeforeprint;
begin
executes the code contained here
end;

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 8:24PM
    use the external events of the tfrxreport component
    every item in the report fires these external events
    read the programmers manual on how to use the events

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.