Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing the Foxpro Base Classes...
Message
De
19/07/1999 20:58:47
 
 
À
19/07/1999 20:23:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00243353
Message ID:
00243390
Vues:
28
>>
>>Are you adding the your subclassed textboxes to the form or the standard text boxes?
>
>both...
>
>In desperation I modified the vfp standard text box base class just to see if my textboxes would inherit the change...
>
>Have I got the source of the base classes correct? I've been working on the assumption that they are the ones contained in the vfp98\ffc directory. If they are somewhere else, that would explain the non effect of the changes I made!
>
>Harry

Nope... base classes are built into VFP... they aren't in a library. But, if you want a first level subclass of all the visual base classes, you can use _base.vcx which is in the FFC and is a direct subclass of every class.

Marim Lasiky (sp) suggested that you copy base to _mybase and then redefine all of the classes in _base to subclass from _mybase. That way, when VFP ships a new _base, all you will have to do is redefine on library and not loose any code or settings you would put in there, since you would now put those settings/code in _mybase.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform