Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Anders Altberg
  Where is Anders Altberg?
 Uppsala
 Sweden
 Anders Altberg
 To: Dan Baker
  Where is Dan Baker?
 Effort of the Poconos
 Pennsylvania - United States
 Dan Baker
 Tags
Subject: RE: EXMPL: Remove all Objects from PageFrame
Thread ID: 347216 Message ID: 365223 # Views: 39 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Saturday, December 22, 2012 1:18:08 PM         
   


> >
> > A solution i've used for removing all controls on pages and of course replacing them with an entire new set ob controls is to put all controls in prepared Container objects saved as classes and swapping containers. Very fast.
> >
> > -Anders
>
> Hi Anders and others,
>
> I hope responding to a thread that is 6 months old is ok :- )
>
> I'm intrigued by this approach you recommend.   It occurs to me that if a page of controls is kept in a class procedure file, you could:
>
> 1. Add (or delete) a control in a container by writing a new PRG file.
> 2. Set procedure additive to that new PRG.
> 3. Create a new container with the resultant changes.
> 4. RemoveObject the old container.
>
> Or maybe I'm better off just driving the creation from a table of parameters.
>
> My application is to create a bunch of widgets for webpages.   But I don't want to go through the trouble of creating the data entry objects for each widget.
>
> The widget will eventually end up as an image or block of HTML code in a webpage.
>
> What are your thoughts?
>
> Thanks,
>
>
> Dan B.
>
> P.S. The Swedish company, Ericsson, is really getting strong in the telecom industry where I work.   You must know a few people who work there.   Uppsala looks like a beautiful city from the Wikipedia page.
>


My nextdoor neighbor used to work for Ericsson supervising phone system installations around the world, Japan, Algeria, Middle East for instance.

-Anders

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