For example:

dim c as myClass extendwith myClassExtensionModule1, myClassExtensionModule1

Of course for the above to work there would have to be an "optional" flag for these new kinds of extension modules, in order to be able to specify which modules AUTOMATICALLY extend EVERY class/type of the module or whether
the extension has to be specifically added in code.


Ehhh... If you're going to cast specific objects as being extended by a module, you may as well create a subclass instead and just cast a new subclass.

dim c as mySubClass

much neater.

Extends is supposed to affect all instances of the extended class AND it's subclasses. If you extended Rectcontrol with a method, then ALL controls inherit the method. I cannot see how your request would compliment this..

Cheers,
Tom
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to