Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacing Class in Abstract Factory
Message
From
16/11/2004 15:35:54
June Kendrick
Kendrick Associates, Inc.
New York, United States
 
 
To
16/11/2004 15:23:42
June Kendrick
Kendrick Associates, Inc.
New York, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Environment versions
Visual FoxPro:
VFP 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00961898
Message ID:
00961910
Views:
6
Just noticed the filepopup container in the atmenus class - where you specify which bars to use in the File menu. So, just give it my own bar instead of the stock bar. Works like a champ.

June

>In one app, I've sub-classed the cReportForm class and set up to call it via a tool bar button. The File/Print Report option calls the original cReportForm class by using an AbstractFactory to create a 'ReportForm'. The AbstractFactory uses the CLASSES table in the MMORTALS\COMMON30\LIBS directory. I'd like to have the File/Print Report option call my sub-class instead of the original ReportForm. What's the recommended method?
>
>If I change the entry in the CLASSES table, then all apps that use the framework will call the sub-class, which isn't necessarily what I want. At the moment, it doesn't matter as I've only got the one app, but I might not want that sublcass fo the next one. Should the CLASSES table really be in the DATA directory (or the app base directory) for the app, instead of the MMORTALS LIBS directory?
>
>Thanks,
>
>June
Previous
Reply
Map
View

Click here to load this message in the networking platform