[fpc-devel] Class property and virtual getter

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Feb 27 09:42:21 CET 2014


Sven Barth schrieb:

>> Changing the GetResourceClient method from virtual to static works
>>
>> Is this a bug or by design?
> As Michael said this is by design. If you want to use a non-static class 
> procedure you must not use "class property", but only "property" (yes, 
> that works).

So what's the special use of a *class* property? If it exists for Delphi 
compatibility only, why then is it handled differently from "property"?

DoDi




More information about the fpc-devel mailing list