Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form object not exist but Screen Active Form does
Message
 
 
À
13/12/1999 11:18:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00302767
Message ID:
00303506
Vues:
43
Harry,

We had the same problem with our Search object. My colegue advised to give the form the same name as in the scx file (i.e. btcrit.scx form.name - btcrit). Since then we haven't this problem. I understand, that it's not a correct solution, just want to let you know, how we solved it.

HTH,
Nadya


>I have a global application object from which I call a method from whatever form is currently active. In one particular instance the the code falls over and tells me the relevant form does not exist. Yet the debugger shows '_screen.activeform.name' is indeed the form I'm trying to call and if I change the code (which I've done anyway) to call '_screen.activeform.mymethod' it works a treat.
>
>How this possible?
>
>Harry
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform