Michel,
I was reading up on using the foundation classes and came across the passage:
Instead of changing _base.vcx, however, you should redefine the classes in _base.vcx to inherit their behavior from your own custom base classes ... You can use the Class Browser to redefine the parent class for a particular class.
And as David pointed out, it actually works! Trying to incorporate the foundation classes into an existing app would be a nightmare without being able to redefine.
Bob
>Are you sure you've read that correctly ? You can certainly move a
class from one class library to another quite easily, but changing
the parent class I do not think so. Imagine : changing a command button
class to have "FORM" as its parent class instead .... What nightmare !!!
>
>Michel.
>===================== Original message follows ====================
>>The VFP Docs indicate there is a simple way to change the parent class of a component from the class browser. How can I accomplish this without editing the VCX?
>>
>>Bob
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement