2014-02-27 5:25 GMT-03:00 Sven Barth <[email protected]>: > Am 27.02.2014 04:36, schrieb luiz americo pereira camara: > > 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). > > Thanks.
Removing class before property compiles. But if i try to access the property using TSimpleModel.ResourceClient gives the following error: Error: Only class methods, class properties and class variables can be referred with class references Technically there's some obstacle to allow such construct? Or is as today only to be delphi compatible? Luiz
_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
