Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ThisForm getting confused in MDI application.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00339141
Message ID:
00339208
Vues:
17
Actually, I was wrong, the object is not being destroyed. In debugger, ThisForm still relates to the closing form and the object in question is still there.

>I've tried that - put ThisForm in every dot-referenced position. Also tried loThisForm=ThisForm and WITH loThisForm - still didn't work. I've found that it's a timer on the closing form that is firing and cannot find an object (obviously being destroyed between lines). I've put IF TYPE("object")='O' and still no joy.
>>
>>
>>WITH/ENDWITH keeps some kind of object reference around. Try your code without the WITH/ENDWITH and see if the problem goes away.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform