Hi,
Is it OK to use "inherited" in any instance method? i.e.
It is OK to do this:
procedure TChildClass.DoIt;//override
begin
inherited DoIt;
end;But is it ok to do this:
procedure TChildClass.SomethinElse;//NOT DoIt
begin
inherited DoIt;
//... ...
end;I tried, it seems ok, but I am not sure, because I had a strange access violation in my code which I cannot reproduce in simplified version of the code, so I suspect this might be an invalid use and "correct by coincidence"?
Thanks!
Xiangrong
