Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Abstract Factory and classes.dbf
Message
De
16/01/1999 15:06:52
George Simon
GS Data Technologies, LLC
Cincinnati, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Abstract Factory and classes.dbf
Divers
Thread ID:
00176905
Message ID:
00176905
Vues:
70
Hello All,

While I started developing an application, I decided I wanted a different 'Print Reports..' form than the default form based off of 'CReportForm'. So I opened the classes.dbf, found the record for classes.cKey = 'ReportForm' and changed the value of classes.cClassName from 'CReportForm' to 'AAARptForm' (my own report form class).

Here's the problem...

I made this change while I was using an older version of the framework, v3.02. The only classes.dbf file I found was located in the ..\cdbk30\common\libs subdirectory so the file I changed is common to all of my applications. Now that I have upgraded to MM v4.1 I get a new classes.dbf and have lost my 'ReportForm' change. Furthermore, I now realize that my change forces all other applications I write to use the 'AAARptFrm' class to instantiate the 'Print Reports..' form.

How do I override the entry in the classes.dbf table for one specific project?

Regards,
George
George Simon, MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform