Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C5 error on releasing form because of removeobject
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00395082
Message ID:
00395170
Vues:
12
>Getting a C5 error when I release a form. On this form, there are container objects(pgfs) being added(addobject()) and removed(removeobject()) during runtime. Everything works fine until you release the form. I thought it might be a dangling object reference, but looking in the debugger I see the object references are being released. If I comment out the removeobject(), everything is fine again. It seems the removeobject is screwing something up and I can't figure out what it is.

Just a WAG, but you might try setting Visible = .F. (or .Hide for objects that pertain) first.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform