Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Decorator pattern question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00199184
Message ID:
00199461
Vues:
21
>oDecorator = CREATEOBJECT('MyDecorator', THIS)
>oDecorator.Decorate()

>oDecorator2 = CREATEOBJECT('MyDecorator2', THIS)
>oDecorator.Decorate()

FWIW Erik our heads were in the same fuzzy place <s> except you did a better job of explaining it. This is how I do it, regardless of how many Decorators come into play I call decorate() in the same way.
Roxanne M. Seibert
Independent Consultant, VFP MCP

Code Monkey Like Fritos
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform