Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best Way to Handle Key Fields in Custom Class
Message
De
30/11/2001 08:06:05
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
29/11/2001 17:10:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00587672
Message ID:
00587912
Vues:
21
>If you have multiple methods which behave differently for the different views, then subclassing the class to handle the separate views would simplify code all around. You could then use an abstract factory to determine which subclass to instantiate to handle the specific view.

Jay

What is an abstract factory?

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

Click here to load this message in the networking platform