Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Decorator pattern question
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00199184
Message ID:
00199461
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform