Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Container doesn't go away
Message
De
07/05/2007 12:01:45
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
VFP Container doesn't go away
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01223086
Message ID:
01223086
Vues:
107
Hi All!

I have spent more than 5 hours trying to debug a really strange VFP
behaviour today.

1. I have a container class based on native foxpro container class
2. I create another container class based on native foxpro container class
and I add the previous container object and a native commandbutton.
3. In the click event of the command button I write:
This.Parent.RemoveObject("acontainer1")
WAIT WINDOW VARTYPE(This.Parent.acontainer1)

4. I Create a new form and I add the second container object.
5. Running the form and clicking on the button after "removing" the
aContainer1 the vartype returns "O"!

Does anybody know something about this?

Any help would be greatly appreciated.

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform