An interesting question from a while back:*[WayBack] delphi – Should a descendant class’ method’s variable that is identical to Self, have
access to its ancestor’s protected methods? – Stack Overflow In
unit A: TParent = class protected function DoSomething: TParent; end; In
unit B: TChild = class(TParent) public procedure DoAnotherThing; end; implementation procedure TChild.DoAnotherThing; begin […]
Weiterlesen...