procedure TMyClass.MyClassProc;
begin
EndProc := @testendproc;
end;
Of course,
EndProc := @testendproc is done inside the Class (see my earlier post).
But how to do if i want to access a procedure
outside the Class ?
How to do
EndProc := @testendproc just after TMyClass was created ?
Otherwise, with your example, i have to change the code of the Class-Object every time i have to load a different procedure.
[Edit]
@Parent.testendproc do
not work as well...