Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does vfp support polymorphism?
Message
De
23/06/2003 15:06:40
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
À
22/06/2003 20:27:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00802118
Message ID:
00803036
Vues:
37
>I used it quite effectively for all of our forms (excuse me, screens) in 2.6 to have specific behaviors for certain functions. I even had a form of inheritance that if the screen didn't create a particular function, there was the "base behavior" in a main SET PROCEDURE file that dealt with the "default".

Sure enough. I did pretty much the same thing in 2.6.

Except, I used "messages" (and still do in VFP); makes it easier to implement new behaviour without creating a lot of new virtual or non-virtual methods (or PROCs, as in the case of FPW).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform