Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms not releasing themselves or their datasessions
Message
De
18/06/1997 20:11:37
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brésil
 
 
À
18/06/1997 19:21:36
Jon Ziegler
Mannesmann Dematic Corp.
Solon, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00036724
Message ID:
00036889
Vues:
36
>>>I am experiencing some extremely frustrating problems in VFP 3.0b. Randomly, forms that I have created within an application will not close. I have traced the code numerous times and the form is released (using RELEASE THISFORM), however, it remains on the screen and the application just stops handling the rest of the events. What makes the problem so frustrating is that I can cancel out of the unclosed forms, open the project, rebuild the .app, not touching any code whatsoever, and the form works fine. Each of the forms is an .SCX file based on my custom form classes, run using DO FORM .
><snip>
>>
>>I'm using Vfp 5.0a here and I'm also facing this problem. What is worse is that it really seems to be randomic (I have never seen such a problem before).
>>Repeating exactly the same steps sometimes it happens sometimes not, and it makes no difference here building again the project as you've mentioned. The only difference is that here I have only seen it happening with forms instantiated with CREATEOBJECT and not with DO FORM.
>>
>>I know that array properties not set to .F. and external references to the Form object (or to one of its controls) not released before closing the Form cause the same problem (the Form doesn't close). BTW, it would be a great debug improvement in those situations to have a way of knowing what exactly is obstructing the form's closing process.
>>
>>What makes me very surprised is to be only now hearing for the first time about this problem. Are we the only chosen ones?
>
>I hope we're not the only ones! Hopefully someone out there has some kind of solution or work-around. I initially thought it might be that I'm using the Cob Editor Extensions. Are you by any chance using that? Just a thought... Other than that, I've tried doing DISPLAY MEMO TO to see if any reference variables to the form were out there, but as of yet, haven't found anything. I had to demo the application that I'm having these problems with and, of course, the problem showed up in full force! I re-built the .EXE about four or five times and restarted VFP about the same amount of times, and finally got the stubborn thing to work. Boy, was I sweating. I'm sorry to hear that this problem exists in 5.0a, too. I was hoping I could at least blame it on the fact that I'm using 3.0b.

Excuse me, Jon, what's a Cob Editor Extensions? I'm probably not using that...

I can imagine what you were feeling during a demo, sometimes (not often) I have to do that too!

Oh, there's something else I forgot to tell you: Here it never happened into Vfp (I mean running APPs or PRGs), only with EXEs.

I also hope we can find some workaround...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform