Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NULL OBJECT
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
NULL OBJECT
Divers
Thread ID:
00164035
Message ID:
00164035
Vues:
90
Hi, I'm experimenting with objects.
I create a form object in my main program like this...
PUBLIC oFrm
oFrm = CREATEOBJECT("testfrm")
where testfrm is referencing a defined class. I then call it from a menu as oFrm.Show() and it works fine. Once I close the form (using the control box) the object is NULL and can't be called again although it still is type "O". How do you keep the object public?

DEFINE CLASS testfrm AS testform
.. some procs
ENDDEFINE

thanks, tom
-TomC
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform