[fpc-pascal] Property alias

2012-12-07 Thread Krzysztof
Hi, Interfaces can have aliases for functions: Function MyOtherFunction : Integer; Function IMyInterface.MyFunc = MyOtherFunction; Can normal object have aliases for properties? For example, TControl.Caption. I would like to publish this property in my descendant as MyExtraText. Is this

Re: [fpc-pascal] Property alias

2012-12-07 Thread michael . vancanneyt
On Fri, 7 Dec 2012, Krzysztof wrote: Hi, Interfaces can have aliases for functions: Function MyOtherFunction : Integer; Function IMyInterface.MyFunc = MyOtherFunction; Can normal object have aliases for properties? For example, TControl.Caption. I would like to publish this property

Re: [fpc-pascal] Property alias

2012-12-07 Thread Howard Page-Clark
On 07/12/12 2:50, Krzysztof wrote: Hi, Interfaces can have aliases for functions: Function MyOtherFunction : Integer; Function IMyInterface.MyFunc = MyOtherFunction; Can normal object have aliases for properties? For example, TControl.Caption. I would like to publish this property

Re: [fpc-pascal] Property alias

2012-12-07 Thread Krzysztof
Thanks 2012/12/7 Howard Page-Clark h...@talktalk.net On 07/12/12 2:50, Krzysztof wrote: Hi, Interfaces can have aliases for functions: Function MyOtherFunction : Integer; Function IMyInterface.MyFunc = MyOtherFunction; Can normal object have aliases for properties? For