Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get rid of a container in a container?
Message
 
À
16/01/1999 14:33:10
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00176899
Message ID:
00176924
Vues:
33
Hi Dragan,

These containers are added to the inner container via AddObject() or NewObject(), right? And beside the reference in the inner container itself (since the innermost containers are members of that container) you also have a row array?

>- removeobject: cntOut.CntMid.RemoveObject("cntOut.cntMid.rows[i]")

I'd use

cntOut.CntMid.RemoveObject(cntOut.cntMid.rows[i].Name)

Be aware that in VFP 6 this doesn't necessarily work when you initiate the release sequence from one of the inner most containers or it controls.


Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform