Thanks
2012/12/7 Howard Page-Clark <[email protected]> > 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 in my descendant >> as "MyExtraText". Is this possible? >> > > 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). > > Howard > > > ______________________________**_________________ > fpc-pascal maillist - > [email protected].**org<[email protected]> > http://lists.freepascal.org/**mailman/listinfo/fpc-pascal<http://lists.freepascal.org/mailman/listinfo/fpc-pascal> > >
_______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
