Hi Chris,
> When programming in VFP is it reasonable to sub-class all the VFP classes
> to create "MyBaseClassLib.vcx",
> and then when starting all new projects sub class from that?
> OR
> is it best to create a new class library based on the VFP base classes
for
> each project
What i do is having a basic library, that contains VFP base clases plus
other objects that i mostly use (navigation bar for example). I have a copy
of this VCX for each project, but for all practical purposes is the same
library.
Then i have an application library wich i use to customize every project.
This handles the initialization, shutdown, displaying of main menu, etc.. I
have a different copy of this VCX for each project.
Also i have a security library, that i use to handle user access to app.
and their forms, wich i include in the projects that need it.
And finally i usually have a VCX specific for objects on the domain of the
particular application i'm developing.
HTH,
J. Luis
J. Luis Santiago Rodríguez.• CADIS • E-mail: jlsantiago@iserve.net.mx• Ciudad de México.