Einzelnen Beitrag anzeigen

Der schöne Günther

Registriert seit: 6. Mär 2013
6.110 Beiträge
 
Delphi 10 Seattle Enterprise
 
#2

AW: Warum braucht Class Property einen Static-Getter?

  Alt 21. Mai 2014, 12:01
Zitat:
A class field is shared between two classes that are related by inheritance. So that cannot be used for polymorphism. And a class static method also cannot supply polymorphic behaviour.

Use a virtual class function rather than a class property.
Quelle: http://stackoverflow.com/a/11013542/2298252

Kann man wohl nichts machen

Geändert von Der schöne Günther (21. Mai 2014 um 12:06 Uhr) Grund: Derp
  Mit Zitat antworten Zitat