Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing a class
Message
 
 
À
11/07/2002 16:56:29
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00677225
Message ID:
00677787
Vues:
22
Sony,

If MyProj.MyClass was developed with VFP, you should just include the classlib in your project and create a normal VFP subclass. This is by far the easiest way to work with it.

create classlib NewClasslib
create class MySubclass of NewClasslib as MyClass from SomeOtherClasslib

or do it prg based as your second example.

Creating subclasses of ActiveX controls has pitfalls that the above methods do not.

>I won't be able to write something like
>Define class mynewclass as MyProj.MyClass && subclassing directly from DLL.
>
>Enddefine
>
>instead, I have to include the myClass Class in the project and write
>Define class mynewclass as myClass
>
>enddefine
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform