Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.778 Beiträge
 
#1

delphi: you can only access protected identifiers from parent classes in your own “Se

  Alt 11. Sep 2019, 18:20
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...
  Mit Zitat antworten Zitat