Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Basic question about inheritance
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00097029
Message ID:
00097169
Vues:
17
>Thanks...this requires a great deal of foresight I think...if I understand correctly...as in, what methods should have hooks and what methods shouldn't...it is something to keep in mind though...
>
What you would do in your original subclasses, any time you have code, create another method that is called at the end of the code [At the end of the Load method code you would have THIS.ADDLOAD()]. Then when you drop this object on a form, you never place code in the Load method, all of it goes in the AddLoad method. Therefore, you do not need to use DoDefault().

The only methods that have hooks are thos that have code.

Hacking the .SCX is always fun as well. Drew Speedie provided a "Hack Tool" at the last DevCon. He may also provide in on his web site (wherever that may be).
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform