Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get rid of a container in a container?
Message
 
To
16/01/1999 14:33:10
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00176899
Message ID:
00176924
Views:
32
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform