On Feb 23, 2006, at 9:31 AM, Joseph J. Strout wrote:
This is specifically for the AddressBook classes, so subclassing
will not work because the functions return the built-in classes
and not my subclasses.
True. But what are you trying to accomplish? Perhaps you can do
it by simply extending the AddressBook classes (via the Extends
keyword).
I am making a second set of classes which exactly mirror the
AddressBook classes. I am doing this so that the software can be
used cross-platform and for people that prefer not to use OS X
Address Book.
Right now I have to use MyFunction(obj As Object) and work with the
object through IsA and casting -- it would be a lot easier to design
the project with Interfaces.
But I don't see how Subclassing would work, because the functions
declarations would be different than the Super class and introduce a
high probability of ambivalence -- return the AddressBookData or the
EnhancedAddressBookData?
_______________________________________________
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>