DP News-Robot |
11. Sep 2019 18:20 |
delphi: you can only access protected identifiers from parent classes in your own “Se
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...
|