Hi everybody,
I am looking for Tool (PRG, APP, EXE) which enables me to subclass a Class
Library such that it retains all the Properties and Class hierarchy of the
Parent Class.

I will be very thankfull to anybody who could help me find such tool.


--
Tanveer H. Malik
LAHORE. (Pakistan)

Cell: +92 333 4227099

Re: Subclassing Foxpro Class Libraries by Eric

Eric
Tue Sep 09 07:00:03 CDT 2003

Hello, Tanveer!

Are you looking for the CREATE CLASS .... AS ... FROM .... command?
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8



Re: Subclassing Foxpro Class Libraries by Tanveer

Tanveer
Tue Sep 09 08:00:03 CDT 2003

No, I am looking for a tool that Subclasses all the Classes in the Class
Library to create a new Library which contains SubClasses



"Eric den Doop" <ericdendoop@xspamblockxfoxite.com> wrote in message
news:OduionsdDHA.2168@TK2MSFTNGP09.phx.gbl...
> Hello, Tanveer!
>
> Are you looking for the CREATE CLASS .... AS ... FROM .... command?
> --
> Eric den Doop
> www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>
>




Re: Subclassing Foxpro Class Libraries by Eric

Eric
Tue Sep 09 08:11:44 CDT 2003

Hello, Tanveer!

Try this:
<vfp_code>
lcClassLib = "myclasslib.vcx"
lcSubClassLib = "mysubclasslib.vcx"
lnClassCount = AVCXCLASSES(laClasses, lcClassLib)
FOR lnCount = 1 TO lnClassCount
lcSubClassName = "subclassed_" + laClasses[lnCount,1]
CREATE CLASS (lcSubClassName) ;
OF (lcSubClassLib) ;
AS (laClasses[lnCount,1]) ;
FROM (lcClassLib) NOWAIT
ENDFOR
</vfp_code>
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8



Re: Subclassing Foxpro Class Libraries by Fred

Fred
Tue Sep 16 10:04:28 CDT 2003

I've not used the tool in question here, but a sub-classer would NOT copy
the properties, it would INHERIT them, wouldn't it? The current settings of
the properties would now be the default value unless you change them. Or is
that not the behavior you are seeing?

Fred
Microsoft Visual FoxPro MVP

"Tanveer H. Malik" <tanmalik@hotmail.com> wrote in message
news:uHzsr8FfDHA.3216@tk2msftngp13.phx.gbl...
> I am looking for a tool like this but it fails to copy the properties from
> the Source Class - Library - into the New Library.
>
>
> "Rick Bean" <rgbean@NOSPAMmelange-inc.com> wrote in message
> news:Omr8DPtdDHA.4020@tk2msftngp13.phx.gbl...
> Hi Tanveer,
> Go to http://www.geeksandgurus.com/, click on the Developer Tools link on
> the left, and then scroll down to "Micellaneous VFP Tools" - Visual Class
> Library Subclasser - it may be what you want.
>
> Rick
>
> "Tanveer Malik" <tanmalik@hotmail.com> wrote in message
> news:e2aiWItdDHA.1620@TK2MSFTNGP12.phx.gbl...
> > No, I am looking for a tool that Subclasses all the Classes in the Class
> > Library to create a new Library which contains SubClasses
> >
> >
> >
> > "Eric den Doop" <ericdendoop@xspamblockxfoxite.com> wrote in message
> > news:OduionsdDHA.2168@TK2MSFTNGP09.phx.gbl...
> > > Hello, Tanveer!
> > >
> > > Are you looking for the CREATE CLASS .... AS ... FROM .... command?
> > > --
> > > Eric den Doop
> > > www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By
VFP8
> > >
> > >
> >
> >
> >
>
>