Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   delphi: you can only access protected identifiers from parent classes in your own “Se (https://www.delphipraxis.net/201936-delphi-you-can-only-access-protected-identifiers-parent-classes-your-own-%93se.html)

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...


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:17 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz