Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instantiation of an object
Message
From
02/12/2008 17:51:59
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
02/12/2008 09:10:47
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01365028
Message ID:
01365251
Views:
9
>>> I have a class library called MyClass.vcx, which has several objects within it (including forms) - I use the command goMyClass = createobject('MyClass') to > instantiate the object, but the question is this:
>>
>>This line implies that you have a class 'MyClass' in some classlib (I'm kind and assume you have used SET CLASSLIB TO MyClass.vcx without mention)
>
>
>thats not exactly what came into my mind but it shows in how many ways this could be misunderstood <s>
>
>
>>I myself call it rubbish to name a class the same as the vcx.
>
>Full ACK

Unless you have a single class in the vcx - then it serves no purpose to have separate names. I've worked in a place where the forms were kept in classlibs, one per vcx - in that layout, vcx==class. Of course, framework stuff was n classes 1 vcx, and then none of the classes was named the same as the vcx.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform