Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application object
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00163769
Message ID:
00163852
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform