Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing a class
Message
 
 
To
11/07/2002 16:56:29
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00677225
Message ID:
00677787
Views:
24
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
Previous
Reply
Map
View

Click here to load this message in the networking platform