Re: Adding user functions to quick report

Posted by webmaster Guido on September 22, 2001

In Reply to: Adding user functions to quick report posted by Dragger on September 22, 2001

: Hi,
: how do I add user functions (constants) to a quick report at runtime?


Functions and procedures can not be added to a Delphi program at runtime, and surely you can not add constants (the word "constant" says it all ;-)

But no doubt I misunderstand what you are asking for, probably you don't mean adding "functions" as in:

function SumOf(N1, N2: integer): integer;
begin
  Result := N1 + N2;
end;

...because all functions have to be defined at design time.
Please, can you be a bit more specific, give us an example of what you want to do?


Related Articles and Replies


[ DelphiLand FAQ ] [ Delphi Tutorials ]