Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Dan Baker
  Where is Dan Baker?
 Effort of the Poconos
 Pennsylvania - United States
 Dan Baker
 To: Tore Bleken
  Where is Tore Bleken?
 Stokke
 Norway
 Tore Bleken
 Tags
Subject: RE: EXMPL: Remove all Objects from PageFrame
Thread ID: 347216 Message ID: 365227 # Views: 42 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Saturday, December 22, 2012 2:13:25 PM         
   


> Dan,
>
> when you drill through your objects and delete them, you must drill down, and not up. In other words
> FOR j = m.TotControls to 1 step -1
>    .RemoveObject( .Controls[1].Name ) 
> ENDFOR 

>

Thanks Tore. Last control to the first. I get it.

ENTIRE THREAD

EXMPL: Remove all Objects from PageFrame Posted by Dan Baker @ 6/16/2012 4:09:53 AM
RE: EXMPL: Remove all Objects from PageFrame Posted by Samir H. @ 6/16/2012 5:06:08 AM
RE: EXMPL: Remove all Objects from PageFrame Posted by Dan Baker @ 6/16/2012 8:36:34 AM
RE: EXMPL: Remove all Objects from PageFrame Posted by Anders Altberg @ 6/16/2012 3:51:39 PM
RE: EXMPL: Remove all Objects from PageFrame Posted by Dan Baker @ 6/16/2012 10:47:07 PM
RE: EXMPL: Remove all Objects from PageFrame Posted by David Mustakim @ 6/17/2012 12:14:01 AM
RE: EXMPL: Remove all Objects from PageFrame Posted by Dan Baker @ 6/18/2012 2:39:42 PM
RE: EXMPL: Remove all Objects from PageFrame Posted by Anders Altberg @ 6/20/2012 8:40:33 PM
RE: EXMPL: Remove all Objects from PageFrame Posted by Dan Baker @ 12/21/2012 11:30:23 PM
RE: EXMPL: Remove all Objects from PageFrame Posted by David Mustakim @ 12/22/2012 5:04:31 AM
RE: EXMPL: Remove all Objects from PageFrame Posted by Anders Altberg @ 12/22/2012 1:18:08 PM
RE: EXMPL: Remove all Objects from PageFrame Posted by Tore Bleken @ 12/22/2012 9:44:44 AM
RE: EXMPL: Remove all Objects from PageFrame Posted by Dan Baker @ 12/22/2012 2:13:25 PM
RE: EXMPL: Remove all Objects from PageFrame Posted by Tore Bleken @ 12/22/2012 6:00:10 PM
RE: EXMPL: Remove all Objects from PageFrame Posted by Tony Vignone @ 12/22/2012 6:22:18 PM
RE: EXMPL: Remove all Objects from PageFrame Posted by Dan Baker @ 12/22/2012 6:37:31 PM
RE: EXMPL: Remove all Objects from PageFrame Posted by Koen Piller @ 12/23/2012 11:58:42 AM
RE: EXMPL: Remove all Objects from PageFrame Posted by Dan Baker @ 12/23/2012 7:55:40 PM
RE: EXMPL: Remove all Objects from PageFrame Posted by James Frye @ 12/23/2012 2:35:43 AM
RE: EXMPL: Remove all Objects from PageFrame Posted by Dan Baker @ 12/23/2012 3:38:54 AM
RE: EXMPL: Remove all Objects from PageFrame Posted by Rahul Moudgill @ 12/23/2012 6:47:03 AM
RE: EXMPL: Remove all Objects from PageFrame Posted by Dan Baker @ 1/12/2013 2:56:38 AM
RE: EXMPL: Remove all Objects from PageFrame Posted by David Mustakim @ 1/12/2013 3:40:31 AM
RE: EXMPL: Remove all Objects from PageFrame Posted by Dan Baker @ 1/12/2013 8:24:01 AM
RE: EXMPL: Remove all Objects from PageFrame Posted by David Mustakim @ 1/12/2013 5:48:43 PM
RE: EXMPL: Remove all Objects from PageFrame Posted by tushar @ 1/12/2013 9:08:15 AM