Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two classes with the same name of form
Message
From
09/05/2000 21:33:50
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00367864
Message ID:
00367938
Views:
36
Well, I'll be damned. It looks like it works (if the classlib is in SET CLASSLIB, otherwise, you get "Class definition is not found"). I stand corrected.

How did you find this? It is not documented anywhere that I can find.


>Try it out, it works for me.
>>>loForm1 = CREATEOBJECT("Lib1.cSomeForm")
>>>loForm2 = CREATEOBJECT("Lib2.cSomeForm")
>>
>>This won't work. The file.classname syntax is for COM objects, not VFP classes.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform