<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-27 5:25 GMT-03:00 Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am 27.02.2014 04:36, schrieb luiz americo pereira camara:<div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Is this a bug or by design?<br>
</blockquote></div></div>
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).<br>
<br></blockquote><div><br></div><div>Thanks.<br><br></div><div>Removing class before property compiles. But if i try to access the property using TSimpleModel.ResourceClient gives the following error:<br><br>Error: Only class methods, class properties and class variables can be referred with class references<br>
<br></div><div>Technically there's some obstacle to allow such construct?<br>Or is as today only to be delphi compatible?<br></div><div><br></div><div>Luiz<br></div><div> <br></div></div></div></div>