Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
THISFORM has properties but no object is found
Message
 
À
18/01/1999 09:26:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00176724
Message ID:
00177165
Vues:
44
Hi Aubry,

>When I say that the object doesn't exitst I mean that I can go in the watch window and look in locals or type in the object name and neither exist. But I can type in THISFORM.name and it returns the correct form name. I went into every object listed in the locals list and none of them had the correct properties.
>
>I am calling the form with ... DO FORM path NAME name
>Pretty standard. I am running out of options here.

The variable "name" won't exist before the Init() method of the form has run. Also, since it's a private variable, it will be released as soon as the method that issued DO FORM returns.

Where do you call the form and at what moment are you looking at the debugger?

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform