[fpc-devel] Static class methods can or cannot be virtual?
hnb.code at gmail.com
Mon Jan 22 18:45:57 CET 2018
2018-01-22 18:25 GMT+01:00 Denis Kozlov <dezlov at gmail.com>:
> I presume then there is no way for having a class property who's returned
> value can be dynamically changed in child classes? In other words, class
> property getters/setters can only be implemented by the class that declared
> the property.
Correct. There was some topic about "static class methods" and "class
property" some time ago on fpc-devel or in fpc-pascal. For example static
class methods can be used as callback procedure for external APIs/Libraries.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel