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 10:38PM
    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