Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Name Calling Conflict - Don't Call Me That
Message
De
23/05/1997 09:22:59
 
 
À
22/05/1997 19:55:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00033110
Message ID:
00033404
Vues:
48
>>>
>>>What would happen if you used 'This' instead of 'Thisform'?
>>>
>>>GeneS
>>
>>That would be fine. Since the method in this case is a method of the form, THIS or THISFORM could be used.
>>
>>You may want to standardize on always using THISFORM when refering to the form object for clarity.
>>
>>-Doug-
>
>
>But isn't that the problem he is having....sometimes the object is part of the form and sometimes it is not? That is the way I understood the problem.

If my memory serves, I think it was determined that he should use AddObject() to add the object as a member of the form rather than CreateObject(). I was assuming the discussion was still in that context...I just looked back and saw that was another branch off the original thread.

You are right, THISFORM is only valid if the object is a part of a form.

-Doug-
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform