Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removeobject does not remove
Message
De
11/01/2012 04:25:50
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
10/01/2012 13:30:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01532655
Message ID:
01532716
Vues:
44
>i have the following code to remove a container object when not needed anymore:
>
>IF PEMSTATUS(THISFORM, [cntEmployer], 5)
>	thisform.cntEmployer.VISIBLE=.f.
>	thisform.RemoveObject([cntEmployer])
>ENDIF 
>
>
>no error but the object deas not get removed.
>any thoughts?

If it's defined as a member object in the parent class, you can't really remove it. This works only for the objects you added at the current level - either in the form/class itself (not the parent class), or via .addObject() or .newObject().

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform