Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Camil Ghircoias
  Where is Camil Ghircoias?
 Sibiu
 Romania
 Camil Ghircoias
 To: Ken Blum
  Where is Ken Blum?
 Chicago
 Illinois - United States
 Ken Blum
 Tags
Subject: RE: renegociate a class's parent class
Thread ID: 34116 Message ID: 34127 # Views: 0 # Ratings: 0
Version: Visual FoxPro 6 Category: Classes and Objects
Date: Tuesday, December 09, 2003 5:11:43 PM         
   


> > Hi, please help !
> > I have a class A1 based on 'form', from A1 I have A2->A3->then my standard forms. Is there a posibility to change the A1 parent's class from 'form' to another class based on form so the chain will look like this:
> > A0->A1->A2->A3. I cannot redisign all my forms and classes because it will take months.
> >
> > Thanks!
> > Camil Ghircoias
>
> WARNING - This is hacking the class library & could render it useless if misused, so make a copy of it first!
>
> The class library file (.VCX) is simply a table. You can USE MyClassLib.VCX. Browse the records looking for your specific class, and you can change the Class column value to whatever you want it to be based on.
>
> KTB

Tryed allready, but vfp dies and need task manager to exit. I've tried to make A1~ from A0 and then delete the A0 from project class manager then rename A1~ to A1. It works, but strange behaviour when changing properties from A0. Has no effect in A1. The properties window shows me that A1 has parent A0 but no effect it should be.
Camil Ghircoias

ENTIRE THREAD

renegociate a class's parent class Posted by camil ghircoias @ 12/9/2003 3:19:45 PM
RE: renegociate a class's parent class Posted by Ken Blum @ 12/9/2003 4:20:48 PM
RE: renegociate a class's parent class Posted by camil ghircoias @ 12/9/2003 5:11:43 PM