Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instantiation of an object
Message
From
02/12/2008 03:57:36
 
 
To
02/12/2008 03:35:09
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:
01365033
Views:
9
As an addition to this, there's also the following other question:

I use the following command to instantiate the object:

goMyClass=crreateobject('MyClass')

This is based on the assumption that there is an object within my class library called MyClass, which in this instance there is (a custom object). However, how do I create a reference to myClass as a whole so that I can reference ALL objects within it without having to create a reference to each individual object. For example, I have several forms within MyClass, so I need to be able to show/hide them at will, i.e. goMyClass.myForm.show().

Regards
Previous
Reply
Map
View

Click here to load this message in the networking platform