Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms not releasing themselves or their datasessions
Message
 
À
18/06/1997 12:37:13
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00036724
Message ID:
00036925
Vues:
38
> >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 . > > > >If anyone knows any cure or has an suggestions for either of these > problems PLEASE let me know. TIA. > > Hello Jon, > > 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? > > Renato > Hi guys, I faced this problem also..... But it wasn't very often, so I didn't really mind it. But, then I did a lot about reports and found interesting thing about it. And that is, that it's can't work with dataenvironment and datasessions with 100 percent accuracy. I found an bug article about this at MS knowledge base, but don't have a link, so chceck it out. And I experience this trouble only with forms with it's own DE, when it can't set some indexes correctly and SOMETIMES it doesn't release itself and it hangs on. I think (not sure) it mostly happens with formsets. But no work-arround found yet.... hth Dezider
There were three worst disasters in the history of human
race in 20-th century:
1, Hiroshima 44
2, Tchernobyl 86
3, Windows 95
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform