I am working on a special replacement procedure (based
on the Search&Replace-Example), which searches for a
regular expression and builds the replace-string from the
Therefor it is required that the AReplace parameter of
the DoOnReplaceText-procedure is declared as a VAR-
parameter instead of a CONST, so that the replace-
string can be changed within that procedure.
Since I do not want to make changes to the original
component, is there probably a simple way to
implement that little change in a seperate class or sth.
I have already tried to make a new class containing an
OVERRIDE-procedure, that replaces the
DoOnReplaceText, but I get only the message, the
declaration would not match to the one before.
I am looking forward to any help...
Log in to post a comment.