>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only