I have just reported this behaviour as a bug. If you believe that it would be useful to be resolved in Service Pack 2 of VFP9 please spent 1 minute to rate it. https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=276193
Thanks in Advance. Vassilis Aggelakos ----- Original Message ----- From: "Vassilis Aggelakos" <[EMAIL PROTECTED]> To: "ProFox Email List" <[email protected]> Sent: Monday, May 07, 2007 5:49 PM Subject: Why I can't delete a container object from another container? > 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 > > Vassilis Aggelakos > > VFP9SP1 WinXP SP2 > Mail Address : N37 57' 44.49'' E23 37' 25.47'' > > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

