Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any secrets to REMOVEOBJECT and C5 Errors?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Any secrets to REMOVEOBJECT and C5 Errors?
Divers
Thread ID:
00821999
Message ID:
00821999
Vues:
47
This project has a form, with a container (that contains smaller containers).Sliders move the big container around in the form (have set autoyield).

When a process removes a "liitle" container inside the "big" container inside the program:
oForm.oBigContainer.RemoveObject("oLittleContainer")
VFP crashes. When I remove the object from the command window while the form is running, it works okay! BTW: oLittleContainer contains some textboxes.

It does the same in both 6 and 7. I lieu of a secret workaround I could just INVISIBLE the discarded container (and rename it).

Thanks
Imagination is more important than knowledge
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform