Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App Builder and Foundation Classes
Message
From
13/03/1999 22:18:46
 
 
To
13/03/1999 17:23:46
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00197286
Message ID:
00197319
Views:
14
>If I want to change any of them, I need to subclass first, in order to avoid app-specific changes becoming a part of every project I develop. Or worse yet, if I don't create my own subclass, my changes will disappear when Microsoft updates the foundation classes.

Actually, if I remember correctly, an article in FoxPro Advisor discussed this aspect of using the FFC.

I belive the recomendation was to subclass all the base classes, then modifiy all of the FFC classes in _BASE to subclass from your own base classes.

This way, you can add or modify functionality of the subclassed base classes in the layer you put between VFP and _base. Other than that you can subclass the _FFC classes.

What this gives you is a way to modify and extend the _FFC and when it is upgraded, all you have to do is redefine the classes in _BASE again. If my memory serves, there was even code for a utility that did the reassignment for you too.

I think it is also necessary to modify the wizard to use your subclasses of the _FFC in the ap builder.

BOb

PS: I also know that on the MSDN web page, there is also an article on extending the _FFC by a member of the fox team.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform