Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00163769
Message ID:
00163852
Vues:
29
>Typically a command class is not much more than a subclass of the VFP Custom baseclass with an Execute method on it. For some of the things you've described it sounds like it may be more appropriate to create command classes that deliver the specific functionality you need and then just instance them and call the execute method when necessary.

Nice tip Mike. Nice clean implementation of the command Design Pattern while allowing oApp to be a little lighter... I like it!
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