Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GoApp is not an object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01093988
Message ID:
01094029
Vues:
35
>Naomi,
>
>I now see what is going on. We normally run our reports from a subclassed creportform. creportform is Modal so the main toolbar etc. gets disabled when this form is run. We also have some reports that are run directly off of our forms that just use REPORT FORM and they do the same thing that you are seeing - Object goApp is not found. I guess we need a way to run the report preview modally. I don't have time to look in to this right now but you have definitely found a problem.
>
>-Dan

Dan,

I was trying to trace it down. Basically, I found, that the sequence of events is different, if we have preview window or we don't at the time of clicking on Exit button. If we do have the Preview window, when the cmdExit.when event is executed, then form's Destroy method. If we don't have the Preview window, these methods are not executed (I assume they are executed earlier). In other words, having the preview window active at the time of Exit changes the events sequence and therefore causes all the sub-sequential errors. I'm going to make one final attempt to fix the problem...
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform