Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instantiation of an object
Message
De
02/12/2008 03:57:36
 
 
À
02/12/2008 03:35:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01365028
Message ID:
01365033
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform