Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing the framework
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00783022
Message ID:
00785529
Vues:
21
>There are then only two questions I want to make to you, to get deeper into the understanding of all what is implied:
>
>- First: so you DO NOT have your own tier of subclasses FROM WHICH you subclass in turn the APPLICATION when you need to create a new application. Instead, you create applications subclassing DIRECTLY from the framework and making all the changes at the application level subclasses. So, YOU CAN NOT make a change that can be inherited for ALL of your applications. Am I understanding this correctly?.
>

I'm not sure I really understand what you're trying to do, but changes you make to the Generic project automatically get copied over to new applications via QSTART.

For example, I've subclassed the KBizObj, KCustCtrls, CContrls, CForms, KContrls, KCustCtl, plus a few other classes. This is my company-level set of classes. I've added these classes to the Generic project. The classes are stored on a network drive: K:\KALib\MM\. The MM's stuff is stored on our L: drive (L:\MMortals). Then we've subclassed these company-level classes to a set of application-level classes, stored in the L:\MMortals\Generic\Libs directory. I've also added these to the Generic project. The Main.PRG file has been modified to point to another set of directories for a few additional classes we need. I think I may have modified the QSTART app to make a few other changes (eg. add a view or two to the default database), but it's been a while and I don't remember exactly what I changed. This seems to work OK.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform