Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Name Calling Conflict - Don't Call Me That
Message
 
À
23/05/1997 14:23:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00033110
Message ID:
00033476
Vues:
44
> > >When you use CreateObject(), the new object is not contained in the form > container, so, you can not address it by thisform.NewObject... > > > Vlad, > I found that out and that is exactly what I don't want to do ... call it by > thisform. > > Thanks, > Gene Gene, I have found that you can do the following in the load event: Thisform.NewObject= createobject('NewObjectsClass') and that you can then use the syntax Thisform.Newobject.MethodOfNewObjec() Not that NewObject is defined as a property of the form. I found this out because I did not seem to be able to use the addobject method of the form for some reason. Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform