Thanks<div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/7 Howard Page-Clark <span dir="ltr"><<a href="mailto:hdpc@talktalk.net" target="_blank">hdpc@talktalk.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 07/12/12 2:50, Krzysztof wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Interfaces can have aliases for functions:<br>
<br>
Function MyOtherFunction : Integer;<br>
Function IMyInterface.MyFunc = MyOtherFunction;<br>
<br>
Can normal object have aliases for properties? For example,<br>
TControl.Caption. I would like to publish this property in my descendant<br>
as "MyExtraText". Is this possible?<br>
</blockquote>
<br></div></div>
You can, of course, define a MyExtraText property with a setter and getter that refer to an existing property (or data field if it is accessible).<span class="HOEnZb"><font color="#888888"><br>
<br>
Howard</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.<u></u>org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/<u></u>mailman/listinfo/fpc-pascal</a><br>
<br>
</div></div></blockquote></div><br></div>