Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ThisForm getting confused in MDI application.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00339141
Message ID:
00339208
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform